Master array creation, manipulation, and advanced operations
Arrays are list-like objects that store multiple values in a single variable. They're perfect for managing collections of related data like shopping lists, user names, or scores.
const shopping = ["bread", "milk", "cheese"]const fruits = ["apple", "banana", "orange"]const mixed = [42, "hello", true, [1, 2]]fruits.length // returns 3Arrays start counting from 0, not 1!
["bread", "milk", "cheese", "hummus", "noodles"][5, 2, 7, 6]["London", "Liverpool", "Totnes", "Edinburgh", "Manchester"][]""push() to add, pop() to remove from endmap() transforms, filter() selects itemssplit() and join() to convert strings ↔ arrays