add element to the end of array javascript code example
Example: js add item to array
const fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");
const fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");