diff options
Diffstat (limited to 'test/built-ins/Object/create/15.2.3.5-4-8.js')
-rw-r--r-- | test/built-ins/Object/create/15.2.3.5-4-8.js | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/test/built-ins/Object/create/15.2.3.5-4-8.js b/test/built-ins/Object/create/15.2.3.5-4-8.js index 4ef160b83..d87b1b6e3 100644 --- a/test/built-ins/Object/create/15.2.3.5-4-8.js +++ b/test/built-ins/Object/create/15.2.3.5-4-8.js @@ -8,16 +8,16 @@ description: > primitive value is true (15.2.3.7 step 2). ---*/ -var props = new Boolean(true); -var result = false; + var props = new Boolean(true); + var result = false; -Object.defineProperty(props, "prop", { - get: function() { - result = this instanceof Boolean; - return {}; - }, - enumerable: true -}); -Object.create({}, props); + Object.defineProperty(props, "prop", { + get: function () { + result = this instanceof Boolean; + return {}; + }, + enumerable: true + }); + Object.create({}, props); assert(result, 'result !== true'); |