Arrays are a special type of object. An object is referred to as a complex data type because it is built from primitive types (go to About the Array Object for more information).
Arrays are objects that are capable of storing a sequence of values in one variable. A single index number (for a one-dimensional array) or several index numbers (for an array of arrays, or a multidimensional array) references the data in the array. You can refer to an individual element of an array with the array identifier followed with the array index in square brackets ([]). The indexes are numbered from 0 to 1 less than the number of elements in the array. To refer to the array as a whole, use the array identifier.
There are two types of arrays: Typed and Untyped.
Note: The JavaScript survey engine does not support Typed Arrays so we recommend using Untyped Arrays.