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