mirror of https://github.com/tc39/test262.git
add esid to array/prototype/push tests (#1116)
This commit is contained in:
parent
d6b492205d
commit
5ff6550197
|
@ -6,6 +6,7 @@ info: >
|
|||
The arguments are appended to the end of the array, in
|
||||
the order in which they appear. The new length of the array is returned
|
||||
as the result of the call
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A1_T1
|
||||
description: Checking case when push is given no arguments or one argument
|
||||
---*/
|
||||
|
|
|
@ -6,6 +6,7 @@ info: >
|
|||
The arguments are appended to the end of the array, in
|
||||
the order in which they appear. The new length of the array is returned
|
||||
as the result of the call
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A1_T2
|
||||
description: Checking case when push is given many arguments
|
||||
---*/
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
The push function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A2_T1
|
||||
description: >
|
||||
The arguments are appended to the end of the array, in the order
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
The push function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A2_T2
|
||||
description: >
|
||||
The arguments are appended to the end of the array, in the order
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
The push function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A2_T3
|
||||
description: >
|
||||
Operator use ToNumber from length. If Type(value) is Object,
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: Check ToLength(length) for Array object
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A3
|
||||
description: If ToUint32(length) !== length, throw RangeError
|
||||
---*/
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: Check ToLength(length) for non Array objects
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A4_T1
|
||||
description: length = 4294967296
|
||||
---*/
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: Check ToLength(length) for non Array objects
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A4_T2
|
||||
description: length = 4294967295
|
||||
---*/
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: Check ToLength(length) for non Array objects
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A4_T3
|
||||
description: length = -1
|
||||
---*/
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: "[[Get]] from not an inherited property"
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A5_T1
|
||||
description: >
|
||||
[[Prototype]] of Array instance is Array.prototype, [[Prototype]
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: The push property of Array can't be used as constructor
|
||||
esid: sec-array.prototype.push
|
||||
es5id: 15.4.4.7_A6.7
|
||||
description: >
|
||||
If property does not implement the internal [[Construct]] method,
|
||||
|
|
|
@ -2,6 +2,7 @@
|
|||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
esid: sec-array.prototype.push
|
||||
es6id: 22.1.3.17
|
||||
description: >
|
||||
Array.prototype.push.name is "push".
|
||||
|
|
Loading…
Reference in New Issue