This variable is local to the function, not to the loop. Specifies the statements to execute for each property. The following function takes as its argument an object and the object's name. It then iterates over all the object's properties and returns a string that lists the property names and their values. Acceptable parameters include strings, numbers, and objects.
Parameters name The function name.
The name of an argument to be passed to the function. A function can have up to 255 arguments. The statements which comprise the body of the function. Description To return a value, the function must have a return statement that specifies the value to return. A function created with the function statement is a Function object and has all the properties, methods, and behavior of Function objects.