push() syntax js code example Example: javascript array push var SomeRandomArray = []; SomeRandomArray.push("Hello, world!");