diff options
Diffstat (limited to 'test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js')
-rw-r--r-- | test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js index 13549592c..b34cfef00 100644 --- a/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js +++ b/test/suite/ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js @@ -1,14 +1,13 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * 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 - * the array elements of each argument in order - * - * @path ch15/15.4/15.4.4/15.4.4.4/S15.4.4.4_A1_T3.js - * @description Checking this algorithm with no items - */ +/*--- +info: > + 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 + the array elements of each argument in order +description: Checking this algorithm with no items +---*/ var x = [0,1]; var arr = x.concat(); @@ -37,5 +36,4 @@ if (arr.length !== 2) { //CHECK#4 if (arr === x) { $ERROR('#4: var x = [0,1]; var arr = x.concat(); arr !== x'); -} - +} |