diff options
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-3-85.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-3-85.js | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-3-85.js b/test/built-ins/Object/defineProperty/15.2.3.6-3-85.js index 3d8051dc5..0d4c6548c 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-3-85.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-3-85.js @@ -14,10 +14,10 @@ var obj = {}; var proto = {}; Object.defineProperty(proto, "configurable", { - set: function() {} + set: function () { } }); -var ConstructFun = function() {}; +var ConstructFun = function () { }; ConstructFun.prototype = proto; var child = new ConstructFun(); @@ -29,4 +29,6 @@ assert(obj.hasOwnProperty("property")); verifyNotConfigurable(obj, "property"); assert(obj.hasOwnProperty("property")); -assert.sameValue(typeof(obj.property), "undefined"); +assert.sameValue(typeof (obj.property), "undefined"); + + |