diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-103.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-103.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-103.js b/test/built-ins/Object/create/15.2.3.5-4-103.js index 6217dc79a..cd95c4308 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-103.js +++ b/test/built-ins/Object/create/15.2.3.5-4-103.js @@ -11,21 +11,20 @@ includes: [propertyHelper.js] ---*/ var proto = { - configurable: true + configurable: true }; -var ConstructFun = function () { }; +var ConstructFun = function() {}; ConstructFun.prototype = proto; var descObj = new ConstructFun(); Object.defineProperty(descObj, "configurable", { - value: false + value: false }); var newObj = Object.create({}, { - prop: descObj + prop: descObj }); assert(newObj.hasOwnProperty("prop")); verifyNotConfigurable(newObj, "prop"); - |