mirror of https://github.com/tc39/test262.git
add esid to array/prototype/pop tests (#1115)
This commit is contained in:
parent
a6a3cf74c4
commit
d6b492205d
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
If length equal zero, call the [[Put]] method of this object
|
||||
with arguments "length" and 0 and return undefined
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A1.1_T1
|
||||
description: Checking this algorithm
|
||||
---*/
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
The last element of the array is removed from the array
|
||||
and returned
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A1.2_T1
|
||||
description: Checking this use new Array() and []
|
||||
---*/
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
The pop function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A2_T1
|
||||
description: >
|
||||
If ToUint32(length) equal zero, call the [[Put]] method of this
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
The pop function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A2_T2
|
||||
description: >
|
||||
If ToUint32(length) equal zero, call the [[Put]] method of this
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
The pop function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A2_T3
|
||||
description: >
|
||||
The last element ToUint32(length) - 1 of the array is removed from
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
info: >
|
||||
The pop function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A2_T4
|
||||
description: >
|
||||
Operator use ToNumber from length. If Type(value) is Object,
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: Check ToLength(length) for non Array objects
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A3_T1
|
||||
description: length = 4294967296
|
||||
---*/
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: Check ToLength(length) for non Array objects
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A3_T2
|
||||
description: length = 4294967297
|
||||
---*/
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: Check ToLength(length) for non Array objects
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A3_T3
|
||||
description: length = -1
|
||||
---*/
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: "[[Get]], [[Delete]] from not an inherited property"
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A4_T1
|
||||
description: >
|
||||
[[Prototype]] of Array instance is Array.prototype, [[Prototype]
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: "[[Get]], [[Delete]] from not an inherited property"
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A4_T2
|
||||
description: >
|
||||
[[Prototype]] of Array instance is Array.prototype, [[Prototype]
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
/*---
|
||||
info: The pop property of Array can't be used as constructor
|
||||
esid: sec-array.prototype.pop
|
||||
es5id: 15.4.4.6_A5.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.pop
|
||||
es6id: 22.1.3.16
|
||||
description: >
|
||||
Array.prototype.pop.name is "pop".
|
||||
|
|
Loading…
Reference in New Issue