This function creates an array from the elements passed in the function parameters. The number of parameters may be from zero to unlimited.
Examples:
The following call creates an empty array (same as in Java: new Object[0]
):
The following creates an array of three Number objects:Array()
This creates an array of three String objects:Array(1,2,3)
Array("1","2","3")