💻
What is an Array?
Understand arrays through the shopping list analogy
🛒
Array = shopping list
A shopping list is a set of things in a specific order: 1. Milk, 2. Bread, 3. Eggs... An array in JavaScript is the same: a list of values in a specific order.
javascript
💬
Notice: numbering starts from 0, not 1!
Array numbering starts from ZERO! The first element is [0], the second is [1], and so on.
javascript
💬
Basic methods for working with arrays.