Arrays, Part 0
Explore how to create JavaScript arrays as ordered containers that hold multiple values. Understand indexing starting at zero, accessing items, checking length, and modifying array elements. This lesson builds foundational skills for working with arrays in JavaScript.
We'll cover the following...
We'll cover the following...
We’ve seen how to create booleans, numbers, and strings. We’re now going to create a new type of variable called an array.
Creating an Array
Arrays can be thought of as containers. They contain multiple other variables inside them in an ordered way. They’re created with the [] characters.