Array.prototype.push() - JavaScript | MDN
http://devdoc.net/web/developer.mozilla.org/en-US/docs/JavaScript/Reference/Global_Objects/Array/push.html
WEBMay 11, 2017 · The push() method adds one or more elements to the end of an array and returns the new length of the array. var numbers = [1, 2, 3]; numbers.push(4); console.log(numbers); // [1, 2, 3, 4] numbers.push(5, 6, 7); console.log(numbers); // [1, 2, 3, 4, 5, 6, 7] Syntax. arr .push([ element1 [, ...[, elementN ]]]) Parameters. element N.
DA: 91 PA: 12 MOZ Rank: 54