how to use a function to add an integer to an array javascript code example
Example: js add element to array
var fruits = [ "Orange", "Apple", "Mango"];
fruits.push("Banana");
var fruits = [ "Orange", "Apple", "Mango"];
fruits.push("Banana");