JavaScript performs several types of repetitive operations, called "looping". Loops are set of instructions used to repeat the same block of code till a specified condition returns false or true depending on how you need it. This tutorial shows the basic idea on how to use loops in JavaScript.
Meant to be a "basic overview" of the world of JavaScript, including who developed JavaScript, How to, Where to, JavaScript vs. Java and so much more. Get introduced to JavaScript today!
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
A function is a block of code which can be called from any point in a script after it has been declared. It is good programming practice to use functions to modularize your code and to better provide reuse. This article explains benefits of using functions in JavaScript.
If you are new to javascript this tutorial would be a good place to start. Learn the basics of javascript, as well as some of the most commonly used javascript functions, such as: alert, prompt, redirect your web page's visitors.