array add ele;ent javascript code example Example: js add item to array var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.push("Kiwi");