JAVASCRIPT CLIMBSChapter 3 · JS Collections & Loops
Array lists
JavaScript arrays are list-like objects used to store multiple values. They are zero-indexed and support built-in helper functions like .push() and .length.
Worked example
How it reads
["cirrus", "stratus"]declares an array of two strings.clouds.lengthgets the number of elements in the array.

Cloud tip: You can add elements to the end of an array using the
.push(value) method.

