diff options
Diffstat (limited to 'test/built-ins/Object/defineProperties/15.2.3.7-6-a-159.js')
-rw-r--r-- | test/built-ins/Object/defineProperties/15.2.3.7-6-a-159.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-159.js b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-159.js index 21fbeacb8..51e462ce4 100644 --- a/test/built-ins/Object/defineProperties/15.2.3.7-6-a-159.js +++ b/test/built-ins/Object/defineProperties/15.2.3.7-6-a-159.js @@ -10,16 +10,16 @@ description: > length property is not writable (15.4.5.1 step 3.f.i) ---*/ -var arr = []; + var arr = []; -Object.defineProperty(arr, "length", { - writable: false -}); + Object.defineProperty(arr, "length", { + writable: false + }); -Object.defineProperties(arr, { - length: { - value: 0 - } -}); + Object.defineProperties(arr, { + length: { + value: 0 + } + }); assert.sameValue(arr.length, 0, 'arr.length'); |