javascript append list

JavaScript
var colors= ["red","blue"];
	colors.push("yellow"); var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");let foo = ['oop','plop','copo'];
	foo.push("plop");list=["elements"]#add elements by seperating with comma
Source

Also in JavaScript: