javascript append element to array

JavaScript
var colors= ["red","blue"];
	colors.push("yellow"); //["red","blue","yellow"]var colors=["red","white"];
colors.push("blue");//append 'blue' to colorsvar colors= ["red","blue"];
	colors.push("yellow"); array.push(element)var fruits = ["Banana", "Orange", "Apple", "Mango"];
fruits.push("Kiwi");// initialize array
var arr = [
  "Hi",
  "Hello",
  "Bonjour"
];

// append new value to the array
arr.push("Hola");

console.log(arr);
Source

Also in JavaScript: