how to push data in a array in object code example Example: javascript array push object var myArray = []; myArray.push("Example"); myArray.push("text");