how to add variables to an array js code example Example: add value to array javascript var fruits = ["222", "vvvv", "eee", "eeee"]; fruits.push("Kiwi");