Introduction to Multiple Values
Primitives like Strings and Numbers only hold a single piece of data at a time. If we only had primitives, keeping track of 100 students would mean declaring 100 variables!
Arrays
An array is a special variable that can hold more than one ordered value at a time. Arrays use zero-based indexing.
Objects
While arrays use positional indexes (0, 1, 2) to identify data, Objects use named Keys. Think of objects as detailed dictionaries!