add list of elements to list js code example
Example 1: javascript add item to list
var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");
Example 2: how to add list in javascript
list=["elements"]#add elements by seperating with comma