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