Array Basics
Array Basics
π¨βπΌ We're building an inventory system that tracks products. Let's start with
basic array operations.
π¨ Open
and:
- Create an array of product names (strings)
- Add a new product using
push - Access elements by index
- Get the length of the array
π° Arrays store ordered values; you can push, index, and read length.
π MDN - Array


