1 // Copyright (C) 2017 Leo Balter. All rights reserved.
2 // This code is governed by the BSD license found in the LICENSE file.
5 esid: sec-array.prototype.push
7 The "length" property of Array.prototype.push
9 22.1.3.18 Array.prototype.push ( ...items )
11 The length property of the push method is 1.
13 17 ECMAScript Standard Built-in Objects
15 Every built-in function object, including constructors, has a length property
16 whose value is an integer. Unless otherwise specified, this value is equal to
17 the largest number of named arguments shown in the subclause headings for the
18 function description. Optional parameters (which are indicated with brackets:
19 [ ]) or rest parameters (which are shown using the form «...name») are not
20 included in the default argument count.
22 Unless otherwise specified, the length property of a built-in function object
23 has the attributes { [[Writable]]: false, [[Enumerable]]: false,
24 [[Configurable]]: true }.
25 includes: [propertyHelper.js]
28 verifyProperty(Array.prototype.push, "length", {