how to use an array in javascript
A single value in a JavaScript array is called an. . With JavaScript arrays, you can: 1  Store any number of values, including no values at all (known as an. ). 2  Access any or all the elements of an array through a single variable name. 3  Read and write elements of an array.4  Loop through all the elements of an array.5  Join two or more arrays together to make one longer array. With JavaScript arrays, you can: 1  Store any number of values, including no values at all (known as an. ). 2  Access any or all the elements of an array through a single variable name. 3  Read and write elements of an array. 4  Loop through all the elements of an array.