diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-58.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-58.js | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-58.js b/test/built-ins/Object/create/15.2.3.5-4-58.js index 2054d70d5..4e91fc6fa 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-58.js +++ b/test/built-ins/Object/create/15.2.3.5-4-58.js @@ -9,24 +9,24 @@ description: > function (8.10.5 step 3.a) ---*/ - var proto = {}; - var accessed = false; +var proto = {}; +var accessed = false; - Object.defineProperty(proto, "enumerable", { - set: function () { } - }); +Object.defineProperty(proto, "enumerable", { + set: function() {} +}); - var ConstructFun = function () { }; - ConstructFun.prototype = proto; - var descObj = new ConstructFun(); +var ConstructFun = function() {}; +ConstructFun.prototype = proto; +var descObj = new ConstructFun(); - var newObj = Object.create({}, { - prop: descObj - }); - for (var property in newObj) { - if (property === "prop") { - accessed = true; - } - } +var newObj = Object.create({}, { + prop: descObj +}); +for (var property in newObj) { + if (property === "prop") { + accessed = true; + } +} assert.sameValue(accessed, false, 'accessed'); |