append items array javascript code example
Example 1: js array add element
array.push(element)
Example 2: js add element to array
var fruits = [ "Orange", "Apple", "Mango"];
fruits.push("Banana");
array.push(element)
var fruits = [ "Orange", "Apple", "Mango"];
fruits.push("Banana");