adding element to a list in javascript code example Example: add value to array javascript var fruits = ["222", "vvvv", "eee", "eeee"]; fruits.push("Kiwi");