how to append array in javascriipt code example
Example: append array js
var colors= ["red","blue"];
colors.push("yellow"); //["red","blue","yellow"]
var colors= ["red","blue"];
colors.push("yellow"); //["red","blue","yellow"]