diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-121.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-121.js | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-121.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-121.js index ed80e3969..d7c924ad5 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-121.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-121.js @@ -8,23 +8,21 @@ description: > the Argument object (8.10.5 step 4.b) ---*/ -var obj = {}; + var obj = {}; -var argObj = (function() { - return arguments; -})(1, true, "a"); + var argObj = (function () { return arguments; })(1, true, "a"); -var attr = { - configurable: argObj -}; + var attr = { + configurable: argObj + }; -Object.defineProperty(obj, "property", attr); + Object.defineProperty(obj, "property", attr); -var beforeDeleted = obj.hasOwnProperty("property"); + var beforeDeleted = obj.hasOwnProperty("property"); -delete obj.property; + delete obj.property; -var afterDeleted = obj.hasOwnProperty("property"); + var afterDeleted = obj.hasOwnProperty("property"); assert.sameValue(beforeDeleted, true, 'beforeDeleted'); assert.sameValue(afterDeleted, false, 'afterDeleted'); |