js append to array

JavaScript
var colors= ["red","blue"];
	colors.push("yellow"); //["red","blue","yellow"]var colors=["red","white"];
colors.push("blue");//append 'blue' to colorsconst array1 = ['a', 'b', 'c'];
const array2 = ['d', 'e', 'f'];
const array3 = array1.concat(array2);var colors= ["red","blue"];
	colors.push("yellow"); array.push(element)var array = [0,1,3];
array.append(5);
console.log(array); // [0,1,3,5]
Source

Also in JavaScript: