mirror of
https://github.com/tc39/test262.git
synced 2025-07-31 01:44:54 +02:00
add esid to array/prototype/shift tests
This commit is contained in:
parent
a62da2b499
commit
da291ca3b1
@ -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.shift
|
||||||
es5id: 15.4.4.9_A1.1_T1
|
es5id: 15.4.4.9_A1.1_T1
|
||||||
description: Checking this algorithm
|
description: Checking this algorithm
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The first element of the array is removed from the array and
|
The first element of the array is removed from the array and
|
||||||
returned
|
returned
|
||||||
|
esid: sec-array.prototype.shift
|
||||||
es5id: 15.4.4.9_A1.2_T1
|
es5id: 15.4.4.9_A1.2_T1
|
||||||
description: Checking this use new Array() and []
|
description: Checking this use new Array() and []
|
||||||
---*/
|
---*/
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The shift function is intentionally generic.
|
The shift 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.shift
|
||||||
es5id: 15.4.4.9_A2_T1
|
es5id: 15.4.4.9_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 shift function is intentionally generic.
|
The shift 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.shift
|
||||||
es5id: 15.4.4.9_A2_T2
|
es5id: 15.4.4.9_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 shift function is intentionally generic.
|
The shift 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.shift
|
||||||
es5id: 15.4.4.9_A2_T3
|
es5id: 15.4.4.9_A2_T3
|
||||||
description: >
|
description: >
|
||||||
The first element of the array is removed from the array and
|
The first element of the array is removed from the array and
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The shift function is intentionally generic.
|
The shift 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.shift
|
||||||
es5id: 15.4.4.9_A2_T4
|
es5id: 15.4.4.9_A2_T4
|
||||||
description: >
|
description: >
|
||||||
The first element of the array is removed from the array and
|
The first element of the array is removed from the array and
|
||||||
|
@ -5,6 +5,7 @@
|
|||||||
info: >
|
info: >
|
||||||
The shift function is intentionally generic.
|
The shift 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.shift
|
||||||
es5id: 15.4.4.9_A2_T5
|
es5id: 15.4.4.9_A2_T5
|
||||||
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.shift
|
||||||
es5id: 15.4.4.9_A3_T3
|
es5id: 15.4.4.9_A3_T3
|
||||||
description: length is arbitrarily
|
description: length is arbitrarily
|
||||||
---*/
|
---*/
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
|
|
||||||
/*---
|
/*---
|
||||||
info: "[[Get]], [[Delete]] from not an inherited property"
|
info: "[[Get]], [[Delete]] from not an inherited property"
|
||||||
|
esid: sec-array.prototype.shift
|
||||||
es5id: 15.4.4.9_A4_T1
|
es5id: 15.4.4.9_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.shift
|
||||||
es5id: 15.4.4.9_A4_T2
|
es5id: 15.4.4.9_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 shift property of Array can't be used as constructor
|
info: The shift property of Array can't be used as constructor
|
||||||
|
esid: sec-array.prototype.shift
|
||||||
es5id: 15.4.4.9_A5.7
|
es5id: 15.4.4.9_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/shift/name.js
vendored
1
test/built-ins/Array/prototype/shift/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.shift
|
||||||
es6id: 22.1.3.21
|
es6id: 22.1.3.21
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.shift.name is "shift".
|
Array.prototype.shift.name is "shift".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user