push a new object in an array of objects code example Example: javascript array push object var myArray = []; myArray.push("Example"); myArray.push("text");