diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-56.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-56.js | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-56.js b/test/built-ins/Object/create/15.2.3.5-4-56.js index d0fb5995d..1d71a5d36 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-56.js +++ b/test/built-ins/Object/create/15.2.3.5-4-56.js @@ -9,19 +9,19 @@ description: > (8.10.5 step 3.a) ---*/ -var accessed = false; -var descObj = {}; -Object.defineProperty(descObj, "enumerable", { - set: function() {} -}); + var accessed = false; + var descObj = {}; + Object.defineProperty(descObj, "enumerable", { + set: function () { } + }); -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'); |