add to an array ends in number js code example Example: pushing element in array in javascript array = ["hello"] array.push("world");