diff options
Diffstat (limited to 'test/built-ins/Array/prototype/slice/15.4.4.10-10-c-ii-1.js')
-rw-r--r-- | test/built-ins/Array/prototype/slice/15.4.4.10-10-c-ii-1.js | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Array/prototype/slice/15.4.4.10-10-c-ii-1.js b/test/built-ins/Array/prototype/slice/15.4.4.10-10-c-ii-1.js index ec1f509d3..bd1c36582 100644 --- a/test/built-ins/Array/prototype/slice/15.4.4.10-10-c-ii-1.js +++ b/test/built-ins/Array/prototype/slice/15.4.4.10-10-c-ii-1.js @@ -9,15 +9,15 @@ description: > index property (read-only) exists in Array.prototype (Step 10.c.ii) ---*/ -var arrObj = [1, 2, 3]; + var arrObj = [1, 2, 3]; -Object.defineProperty(Array.prototype, "0", { - value: "test", - writable: false, - configurable: true -}); + Object.defineProperty(Array.prototype, "0", { + value: "test", + writable: false, + configurable: true + }); -var newArr = arrObj.slice(0, 1); + var newArr = arrObj.slice(0, 1); assert(newArr.hasOwnProperty("0"), 'newArr.hasOwnProperty("0") !== true'); assert.sameValue(newArr[0], 1, 'newArr[0]'); |