diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-328.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-328.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-328.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-328.js index 88c5d3641..70c4b2669 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-328.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-328.js @@ -8,17 +8,17 @@ description: > true, [[Configurable]] is true) is deletable ---*/ -var obj = {}; + var obj = {}; -Object.defineProperty(obj, "prop", { - value: 2010, - writable: true, - enumerable: true, - configurable: true -}); -var beforeDelete = obj.hasOwnProperty("prop"); -delete obj.prop; -var afterDelete = obj.hasOwnProperty("prop"); + Object.defineProperty(obj, "prop", { + value: 2010, + writable: true, + 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'); |