append data get array code example Example: append data get array var colors=["red","white"]; colors.push("blue");//append 'blue' to colors