diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-356.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-356.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-356.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-356.js index abcbdcef6..c31bf7e1b 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-356.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-356.js @@ -8,17 +8,17 @@ description: > is true, [[Configurable]] is true) is deletable ---*/ -var obj = {}; + var obj = {}; -Object.defineProperty(obj, "prop", { - value: 2010, - writable: false, - enumerable: true, - configurable: true -}); -var beforeDelete = obj.hasOwnProperty("prop"); -delete obj.prop; -var afterDelete = obj.hasOwnProperty("prop"); + Object.defineProperty(obj, "prop", { + value: 2010, + writable: false, + enumerable: true, + configurable: true + }); + var beforeDelete = obj.hasOwnProperty("prop"); + delete obj.prop; + var afterDelete = obj.hasOwnProperty("prop"); assert(beforeDelete, 'beforeDelete !== true'); assert.sameValue(afterDelete, false, 'afterDelete'); |