diff options
Diffstat (limited to 'test/suite/ch15/15.4/15.4.4/15.4.4.6/S15.4.4.6_A4_T2.js')
-rw-r--r-- | test/suite/ch15/15.4/15.4.4/15.4.4.6/S15.4.4.6_A4_T2.js | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/test/suite/ch15/15.4/15.4.4/15.4.4.6/S15.4.4.6_A4_T2.js b/test/suite/ch15/15.4/15.4.4/15.4.4.6/S15.4.4.6_A4_T2.js index cb3498573..2b020d358 100644 --- a/test/suite/ch15/15.4/15.4.4/15.4.4.6/S15.4.4.6_A4_T2.js +++ b/test/suite/ch15/15.4/15.4.4/15.4.4.6/S15.4.4.6_A4_T2.js @@ -1,12 +1,12 @@ // Copyright 2009 the Sputnik authors. All rights reserved. // This code is governed by the BSD license found in the LICENSE file. -/** - * [[Get]], [[Delete]] from not an inherited property - * - * @path ch15/15.4/15.4.4/15.4.4.6/S15.4.4.6_A4_T2.js - * @description [[Prototype]] of Array instance is Array.prototype, [[Prototype] of Array.prototype is Object.prototype - */ +/*--- +info: "[[Get]], [[Delete]] from not an inherited property" +description: > + [[Prototype]] of Array instance is Array.prototype, [[Prototype] + of Array.prototype is Object.prototype +---*/ Array.prototype[1] = -1; var x = [0,1]; @@ -49,4 +49,3 @@ delete x.length; if (x.length !== 2) { $ERROR('#7: Object.prototype[1] = -1; Object.prototype.length = 2; Object.prototype.pop = Array.prototype.pop; x = {0:0,1:1}; x.pop(); delete x; x.length === 2. Actual: ' + (x.length)); } - |