Arrays and methods
Arrays and methods
JavaScript arrays are used to store multiple values in a single variable. Array methods help you work with arrays.
let fruits = ["Apple", "Banana", "Orange"];
fruits.push("Mango");
fruits.pop();
Next: Strings and template literals
Article author: Andrei Olegovich