24.11. Array.push( ): append elements to an arrayECMAScript v324.11.1. Synopsisarray.push(value, ...) 24.11.1.1. Arguments
24.11.1.2. ReturnsThe new length of the array, after the specified values are appended to it. 24.11.2. Descriptionpush( ) appends its arguments, in order, to the end of array. It modifies array directly, rather than creating a new array. push( ), and its companion method pop( ), use arrays to provide the functionality of a first in, last out stack. See Array.pop( ) for an example. 24.11.3. See AlsoArray.pop( ) |