Array.Array

Array Array (Number length, any element)

Parameters

length If no other parameters are passed, the initial length of the empty array.
element If there is more than one parameter, the array is initialized with the given parameters.

Description

Creates and returns a new array.

Takes any number of parameters, which become the elements of the array, or a single value which becomes the length of an empty array. Note that you cannot create a one-element array, as the single parameter value is interpreted as the length. Returns the new array.