how to add element in last in array js code example
Example: javascript add item to list
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");