var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.push("Kiwi"); alert(fruits); fruits.pop("Orange"); alert(fruits);
[Banana,Apple]
array
with elementspush
keyword to insert the new element in arraypop
keyword to remove the new element in array
Comments :