push in array javascrièt code example Example: javascript array push var SomeRandomArray = []; SomeRandomArray.push("Hello, world!");