mirror of
https://github.com/tc39/test262.git
synced 2025-09-21 17:18:29 +02:00
add esid to array/prototype/concat
This commit is contained in:
parent
26ef14c315
commit
c30216b959
@ -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.concat
|
||||||
es5id: 15.4.4.4-5-b-iii-3-b-1
|
es5id: 15.4.4.4-5-b-iii-3-b-1
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.concat will concat an Array when index property
|
Array.prototype.concat will concat an Array when index property
|
||||||
|
@ -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.concat
|
||||||
es5id: 15.4.4.4-5-c-i-1
|
es5id: 15.4.4.4-5-c-i-1
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.concat will concat an Array when index property
|
Array.prototype.concat will concat an Array when index property
|
||||||
@ -19,7 +20,7 @@ description: >
|
|||||||
var hasProperty = newArr.hasOwnProperty("0");
|
var hasProperty = newArr.hasOwnProperty("0");
|
||||||
|
|
||||||
var instanceOfVerify = typeof newArr[0]==="object";
|
var instanceOfVerify = typeof newArr[0]==="object";
|
||||||
|
|
||||||
var verifyValue = false;
|
var verifyValue = false;
|
||||||
verifyValue = newArr[0] == 101;
|
verifyValue = newArr[0] == 101;
|
||||||
|
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat array like length to string throws
|
description: Array.prototype.concat array like length to string throws
|
||||||
---*/
|
---*/
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat array like length valueOf throws
|
description: Array.prototype.concat array like length valueOf throws
|
||||||
---*/
|
---*/
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat array like negative length
|
description: Array.prototype.concat array like negative length
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat array like primitive non number length
|
description: Array.prototype.concat array like primitive non number length
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat array like string length
|
description: Array.prototype.concat array like string length
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -2,8 +2,8 @@
|
|||||||
// Use of this source code is governed by a BSD-style license that can be
|
// Use of this source code is governed by a BSD-style license that can be
|
||||||
// found in the LICENSE file.
|
// found in the LICENSE file.
|
||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat array like to length throws
|
description: Array.prototype.concat array like to length throws
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat array like
|
description: Array.prototype.concat array like
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat holey sloppy arguments
|
description: Array.prototype.concat holey sloppy arguments
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat large typed array
|
description: Array.prototype.concat large typed array
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat length throws
|
description: Array.prototype.concat length throws
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat no prototype
|
description: Array.prototype.concat no prototype
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: array-concat-non-array
|
description: array-concat-non-array
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat sloppy arguments throws
|
description: Array.prototype.concat sloppy arguments throws
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat sloppy arguments with dupes
|
description: Array.prototype.concat sloppy arguments with dupes
|
||||||
flags: [noStrict]
|
flags: [noStrict]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat sloppy arguments
|
description: Array.prototype.concat sloppy arguments
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat small typed array
|
description: Array.prototype.concat small typed array
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat Symbol.isConcatSpreadable boolean wrapper
|
description: Array.prototype.concat Symbol.isConcatSpreadable boolean wrapper
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat Symbol.isConcatSpreadable function
|
description: Array.prototype.concat Symbol.isConcatSpreadable function
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat Symbol.isConcatSpreadable getter throws
|
description: Array.prototype.concat Symbol.isConcatSpreadable getter throws
|
||||||
---*/
|
---*/
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat Symbol.isConcatSpreadable number wrapper
|
description: Array.prototype.concat Symbol.isConcatSpreadable number wrapper
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat Symbol.isConcatSpreadable reg exp
|
description: Array.prototype.concat Symbol.isConcatSpreadable reg exp
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat Symbol.isConcatSpreadable sparse object
|
description: Array.prototype.concat Symbol.isConcatSpreadable sparse object
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat Symbol.isConcatSpreadable string wrapper
|
description: Array.prototype.concat Symbol.isConcatSpreadable string wrapper
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
es6id: 22.1.3.1_3
|
es6id: 22.1.3.1_3
|
||||||
description: Array.prototype.concat strict arguments
|
description: Array.prototype.concat strict arguments
|
||||||
includes: [compareArray.js]
|
includes: [compareArray.js]
|
||||||
|
@ -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.concat
|
||||||
info: >
|
info: >
|
||||||
When the concat method is called with zero or more arguments item1, item2,
|
When the concat method is called with zero or more arguments item1, item2,
|
||||||
etc., it returns an array containing the array elements of the object followed by
|
etc., it returns an array containing the array elements of the object followed by
|
||||||
|
@ -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.concat
|
||||||
info: >
|
info: >
|
||||||
When the concat method is called with zero or more arguments item1, item2,
|
When the concat method is called with zero or more arguments item1, item2,
|
||||||
etc., it returns an array containing the array elements of the object followed by
|
etc., it returns an array containing the array elements of the object followed by
|
||||||
|
@ -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.concat
|
||||||
info: >
|
info: >
|
||||||
When the concat method is called with zero or more arguments item1, item2,
|
When the concat method is called with zero or more arguments item1, item2,
|
||||||
etc., it returns an array containing the array elements of the object followed by
|
etc., it returns an array containing the array elements of the object followed by
|
||||||
@ -32,7 +33,7 @@ if (arr[1] !== 1) {
|
|||||||
//CHECK#3
|
//CHECK#3
|
||||||
if (arr.length !== 2) {
|
if (arr.length !== 2) {
|
||||||
$ERROR('#3: var x = [0,1]; var arr = x.concat(); arr.length === 2. Actual: ' + (arr.length));
|
$ERROR('#3: var x = [0,1]; var arr = x.concat(); arr.length === 2. Actual: ' + (arr.length));
|
||||||
}
|
}
|
||||||
|
|
||||||
//CHECK#4
|
//CHECK#4
|
||||||
if (arr === x) {
|
if (arr === x) {
|
||||||
|
@ -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.concat
|
||||||
info: >
|
info: >
|
||||||
When the concat method is called with zero or more arguments item1, item2,
|
When the concat method is called with zero or more arguments item1, item2,
|
||||||
etc., it returns an array containing the array elements of the object followed by
|
etc., it returns an array containing the array elements of the object followed by
|
||||||
|
@ -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.concat
|
||||||
info: >
|
info: >
|
||||||
The concat function is intentionally generic.
|
The concat 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
|
||||||
|
@ -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.concat
|
||||||
info: >
|
info: >
|
||||||
The concat function is intentionally generic.
|
The concat 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
|
||||||
|
@ -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.concat
|
||||||
info: "[[Get]] from not an inherited property"
|
info: "[[Get]] from not an inherited property"
|
||||||
es5id: 15.4.4.4_A3_T1
|
es5id: 15.4.4.4_A3_T1
|
||||||
description: >
|
description: >
|
||||||
@ -15,18 +16,18 @@ x.length = 2;
|
|||||||
var arr = x.concat();
|
var arr = x.concat();
|
||||||
|
|
||||||
//CHECK#1
|
//CHECK#1
|
||||||
if (arr[0] !== 0) {
|
if (arr[0] !== 0) {
|
||||||
$ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr[0] === 0. Actual: ' + (arr[0]));
|
$ERROR('#1: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr[0] === 0. Actual: ' + (arr[0]));
|
||||||
}
|
}
|
||||||
|
|
||||||
//CHECK#2
|
//CHECK#2
|
||||||
if (arr[1] !== 1) {
|
if (arr[1] !== 1) {
|
||||||
$ERROR('#2: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr[1] === 1. Actual: ' + (arr[1]));
|
$ERROR('#2: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr[1] === 1. Actual: ' + (arr[1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
//CHECK#3
|
//CHECK#3
|
||||||
if (arr.hasOwnProperty('1') !== true) {
|
if (arr.hasOwnProperty('1') !== true) {
|
||||||
$ERROR('#3: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr.hasOwnProperty(\'1\') === true. Actual: ' + (arr.hasOwnProperty('1')));
|
$ERROR('#3: Array.prototype[1] = 1; x = [0]; x.length = 2; var arr = x.concat(); arr.hasOwnProperty(\'1\') === true. Actual: ' + (arr.hasOwnProperty('1')));
|
||||||
}
|
}
|
||||||
|
|
||||||
Object.prototype[1] = 1;
|
Object.prototype[1] = 1;
|
||||||
@ -36,16 +37,16 @@ x = {0:0};
|
|||||||
var arr = x.concat();
|
var arr = x.concat();
|
||||||
|
|
||||||
//CHECK#4
|
//CHECK#4
|
||||||
if (arr[0] !== x) {
|
if (arr[0] !== x) {
|
||||||
$ERROR('#4: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr[0] === x. Actual: ' + (arr[0]));
|
$ERROR('#4: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr[0] === x. Actual: ' + (arr[0]));
|
||||||
}
|
}
|
||||||
|
|
||||||
//CHECK#5
|
//CHECK#5
|
||||||
if (arr[1] !== 1) {
|
if (arr[1] !== 1) {
|
||||||
$ERROR('#5: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr[1] === 1. Actual: ' + (arr[1]));
|
$ERROR('#5: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr[1] === 1. Actual: ' + (arr[1]));
|
||||||
}
|
}
|
||||||
|
|
||||||
//CHECK#6
|
//CHECK#6
|
||||||
if (arr.hasOwnProperty('1') !== false) {
|
if (arr.hasOwnProperty('1') !== false) {
|
||||||
$ERROR('#6: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr.hasOwnProperty(\'1\') === false. Actual: ' + (arr.hasOwnProperty('1')));
|
$ERROR('#6: Object.prototype[1] = 1; Object.prototype.length = 2; Object.prototype.concat = Array.prototype.concat; x = {0:0}; var arr = x.concat(); arr.hasOwnProperty(\'1\') === false. Actual: ' + (arr.hasOwnProperty('1')));
|
||||||
}
|
}
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// See LICENSE or https://github.com/tc39/test262/blob/master/LICENSE
|
// See LICENSE or https://github.com/tc39/test262/blob/master/LICENSE
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
info: Array.prototype.concat uses [[Get]] on 'length' to determine array length
|
info: Array.prototype.concat uses [[Get]] on 'length' to determine array length
|
||||||
es5id: 15.4.4.4_A3_T2
|
es5id: 15.4.4.4_A3_T2
|
||||||
description: >
|
description: >
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
// See LICENSE or https://github.com/tc39/test262/blob/master/LICENSE
|
// See LICENSE or https://github.com/tc39/test262/blob/master/LICENSE
|
||||||
|
|
||||||
/*---
|
/*---
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
info: Array.prototype.concat uses [[Get]] on 'length' to determine array length
|
info: Array.prototype.concat uses [[Get]] on 'length' to determine array length
|
||||||
es5id: 15.4.4.4_A3_T3
|
es5id: 15.4.4.4_A3_T3
|
||||||
description: >
|
description: >
|
||||||
|
@ -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.
|
||||||
/*---
|
/*---
|
||||||
es6id: 22.1.3.1
|
es6id: 22.1.3.1
|
||||||
|
esid: sec-array.prototype.concat
|
||||||
description: Error thrown when accessing `Symbol.isConcatSpreadable` property
|
description: Error thrown when accessing `Symbol.isConcatSpreadable` property
|
||||||
info: >
|
info: >
|
||||||
1. Let O be ToObject(this value).
|
1. Let O be ToObject(this value).
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// 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.concat
|
||||||
es6id: 22.1.3.1
|
es6id: 22.1.3.1
|
||||||
description: >
|
description: >
|
||||||
The `Symbol.isConcatSpreadable` property is defined and coerces to `false`
|
The `Symbol.isConcatSpreadable` property is defined and coerces to `false`
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// 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.concat
|
||||||
es6id: 22.1.3.1
|
es6id: 22.1.3.1
|
||||||
description: >
|
description: >
|
||||||
The `Symbol.isConcatSpreadable` property is defined and coerces to `true`
|
The `Symbol.isConcatSpreadable` property is defined and coerces to `true`
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
// Copyright (C) 2015 the V8 project authors. All rights reserved.
|
||||||
// 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.concat
|
||||||
es6id: 22.1.3.1
|
es6id: 22.1.3.1
|
||||||
description: >
|
description: >
|
||||||
The `Symbol.isConcatSpreadable` property is defined as the value `undefined`
|
The `Symbol.isConcatSpreadable` property is defined as the value `undefined`
|
||||||
|
@ -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.concat
|
||||||
es6id: 22.1.3.1
|
es6id: 22.1.3.1
|
||||||
description: >
|
description: >
|
||||||
Array.prototype.concat.name is "concat".
|
Array.prototype.concat.name is "concat".
|
||||||
|
Loading…
x
Reference in New Issue
Block a user