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