var typicalArray = [
“Frank”,
“Paul”,
“Peter”
];
typicalArray.push(“Carl”); // Adds ‘Carl’ to the end of the array
The push method will always add the new element to the very end of the array. The push method is actually identical to doing the following: