haw add new object in array JS code example
Example: how to add new object in array in javascript
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");