JavascriptArrays

Arrays store ordered collections of data. Each element has a numeric index starting at zero. Arrays can hold any data type, including other arrays or objects. Common array methods include push (add to end), pop (remove last), shift, unshift, map, filter, and reduce, to manipulate and transform data.

let fruits = ["apple", "banana", "cherry"];
console.log(fruits[1]); // banana
fruits.push("date");