mirror of
https://github.com/tc39/test262.git
synced 2025-07-24 22:45:10 +02:00
add esid to array/prototype/join (#1111)
This commit is contained in:
parent
54e6302219
commit
4fe640b297
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: If length is zero, return the empty string
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A1.1_T1
|
||||
description: Checking this use new Array() and []
|
||||
---*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: If separator is undefined, a single comma is used as the separator
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A1.2_T1
|
||||
description: Checking this use new Array() and []
|
||||
---*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: If separator is undefined, a single comma is used as the separator
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A1.2_T2
|
||||
description: Checking this use new Array() and []
|
||||
---*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: If array element is undefined or null, use the empty string
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A1.3_T1
|
||||
description: Checking this use new Array() and []
|
||||
---*/
|
||||
|
@ -5,6 +5,7 @@
|
||||
info: >
|
||||
The join function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A2_T1
|
||||
description: If ToUint32(length) is zero, return the empty string
|
||||
---*/
|
||||
|
@ -5,6 +5,7 @@
|
||||
info: >
|
||||
The join function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A2_T2
|
||||
description: If ToUint32(length) is zero, return the empty string
|
||||
---*/
|
||||
|
@ -5,6 +5,7 @@
|
||||
info: >
|
||||
The join function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A2_T3
|
||||
description: If ToUint32(length) is zero, return the empty string
|
||||
---*/
|
||||
|
@ -5,6 +5,7 @@
|
||||
info: >
|
||||
The join function is intentionally generic.
|
||||
It does not require that its this value be an Array object
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A2_T4
|
||||
description: >
|
||||
Operator use ToNumber from length. If Type(value) is Object,
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: Operator use ToString from separator
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A3.1_T1
|
||||
description: >
|
||||
Checking separator in ["", "\\", "&", true, Infinity, null,
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: Operator use ToString from separator
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A3.1_T2
|
||||
description: >
|
||||
If Type(separator) is Object, evaluate ToPrimitive(separator,
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: Operator use ToString from array arguments
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A3.2_T1
|
||||
description: >
|
||||
Checking arguments and separator in ["", "\\", "&", true,
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: Operator use ToString from array arguments
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A3.2_T2
|
||||
description: If Type(argument) is Object, evaluate ToPrimitive(argument, String)
|
||||
---*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: Check ToLength(length) for non Array objects
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A4_T3
|
||||
description: length = -4294967294
|
||||
---*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: "[[Get]] from not an inherited property"
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A5_T1
|
||||
description: >
|
||||
[[Prototype]] of Array instance is Array.prototype, [[Prototype]
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: The join property of Array has not prototype property
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A6.6
|
||||
description: Checking Array.prototype.join.prototype
|
||||
---*/
|
||||
|
@ -3,6 +3,7 @@
|
||||
|
||||
/*---
|
||||
info: The join property of Array can't be used as constructor
|
||||
esid: sec-array.prototype.join
|
||||
es5id: 15.4.4.5_A6.7
|
||||
description: >
|
||||
If property does not implement the internal [[Construct]] method,
|
||||
|
3
test/built-ins/Array/prototype/join/name.js
vendored
3
test/built-ins/Array/prototype/join/name.js
vendored
@ -2,7 +2,8 @@
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
|
||||
/*---
|
||||
es6id: 22.1.3.12
|
||||
esid: sec-array.prototype.join
|
||||
es6id: 22.1.3.13
|
||||
description: >
|
||||
Array.prototype.join.name is "join".
|
||||
info: >
|
||||
|
Loading…
x
Reference in New Issue
Block a user