An array a regular data structure comprises individual elements that can be referenced to one or more integer index variables, the number of such indices being the number of dimensions or number of elements in the array.In JavaScript, an array is usually represented using the format arrayName[ i ], where i is the index or subscript which represents the position of the element within the array. The array always starts with the zeoth element. For example, an array A that consists 1of 0 elements comprises elements A[0], A[1], A[2], A[3], A[4],A[5], A[6], A[7], A[8] and A[9].