diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-161.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-161.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-161.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-161.js index 881a01347..5c0c453d6 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-161.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-161.js @@ -10,11 +10,11 @@ description: > beyond the new length are deleted(15.4.5.1 step 3.f) ---*/ - var arrObj = [0, 1]; - - Object.defineProperty(arrObj, "length", { - value: 1 - }); +var arrObj = [0, 1]; + +Object.defineProperty(arrObj, "length", { + value: 1 +}); assert.sameValue(arrObj.length, 1, 'arrObj.length'); assert.sameValue(arrObj.hasOwnProperty("1"), false, 'arrObj.hasOwnProperty("1")'); |