diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-217.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-217.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-217.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-217.js index 78ed6f0f0..4454a148e 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-217.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-217.js @@ -9,18 +9,18 @@ description: > 7.a) ---*/ -var obj = {}; -var proto = {}; -Object.defineProperty(proto, "get", { - set: function() {} -}); + var obj = {}; + var proto = {}; + Object.defineProperty(proto, "get", { + set: function () { } + }); -var ConstructFun = function() {}; -ConstructFun.prototype = proto; + var ConstructFun = function () { }; + ConstructFun.prototype = proto; -var child = new ConstructFun(); + var child = new ConstructFun(); -Object.defineProperty(obj, "property", child); + Object.defineProperty(obj, "property", child); assert(obj.hasOwnProperty("property"), 'obj.hasOwnProperty("property") !== true'); assert.sameValue(typeof obj.property, "undefined", 'typeof obj.property'); |