In a for loop, continue jumps back to and executes the increment-expression . In a while loop, continue jumps back to and evaluates the condition statement. The for loop is generally used to set up a loop and create a counter that is incremented with each pass through the loop. The intial-expression is evaluated first, followed by the condition. If the condition proves true, then all statements within the curly braces that follow are executed once.
All objects have properties.
The second pass through the loop references the object's second property and so on until all properties for that object have been referenced. When executed, the BODY of this script displays a form with a textarea form field and a button. The result, which is shown in the following example, is a catalog of all properties associated with the form fields. The params can be any combination of strings, numbers, and objects. If you want the function to return a value, the function must include a return statement that specifies the value to return.