diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-215.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-215.js | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-215.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-215.js index cd74bb102..0e03885d0 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-215.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-215.js @@ -8,14 +8,14 @@ description: > accessor property without a get function (8.10.5 step 7.a) ---*/ -var obj = {}; + var obj = {}; -var attributes = {}; -Object.defineProperty(attributes, "get", { - set: function() {} -}); + var attributes = {}; + Object.defineProperty(attributes, "get", { + set: function () { } + }); -Object.defineProperty(obj, "property", attributes); + Object.defineProperty(obj, "property", attributes); assert.sameValue(typeof obj.property, "undefined", 'typeof obj.property'); assert(obj.hasOwnProperty("property"), 'obj.hasOwnProperty("property") !== true'); |