node.js code to push an object into an array code example Example: javascript array push object var myArray = []; myArray.push("Example"); myArray.push("text");