diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-190.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-190.js | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-190.js b/test/built-ins/Object/create/15.2.3.5-4-190.js index b58182e55..a2d96068e 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-190.js +++ b/test/built-ins/Object/create/15.2.3.5-4-190.js @@ -10,19 +10,21 @@ description: > includes: [propertyHelper.js] ---*/ -var proto = { value: 100 }; +var proto = { + value: 100 +}; Object.defineProperty(proto, "writable", { - set: function () { } + set: function() {} }); -var ConstructFun = function () { }; +var ConstructFun = function() {}; ConstructFun.prototype = proto; var descObj = new ConstructFun(); var newObj = Object.create({}, { - prop: descObj + prop: descObj }); assert.sameValue(newObj.prop, 100); |