Javascript append item to array

JavaScript
var colors=["red","white"];
colors.push("blue");//append 'blue' to colorsvar fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");
Source

Also in JavaScript: