add an element in to an array js code example Example: javascript append list var fruits = ["Banana", "Orange", "Apple", "Mango"]; fruits.push("Kiwi");