Create an array with three of your favorite colors, then add another color to the end using push(), and log the updated array.
Arrays let you store multiple values in a single variable. You can access items by their index, starting at 0.
let fruits = ["Apple", "Banana", "Cherry"];
console.log(fruits[0]);
console.log(fruits[1]);
fruits[1] = "Blueberry";
Example:
fruits.push("Date");
console.log(fruits);
fruits.pop();
console.log(fruits);