diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-84.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-84.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-84.js b/test/built-ins/Object/create/15.2.3.5-4-84.js index c0721deed..09f5f79f5 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-84.js +++ b/test/built-ins/Object/create/15.2.3.5-4-84.js @@ -8,17 +8,17 @@ description: > 'Properties' is a Function object (8.10.5 step 3.b) ---*/ - var accessed = false; +var accessed = false; - var newObj = Object.create({}, { - prop: { - enumerable: function () { } - } - }); - for (var property in newObj) { - if (property === "prop") { - accessed = true; - } - } +var newObj = Object.create({}, { + prop: { + enumerable: function() {} + } +}); +for (var property in newObj) { + if (property === "prop") { + accessed = true; + } +} assert(accessed, 'accessed !== true'); |