how to push an element into an array code example
Example: javascript append to array
var colors=["red","white"];
colors.push("blue");//append 'blue' to colors
var colors=["red","white"];
colors.push("blue");//append 'blue' to colors