diff options
Diffstat (limited to 'test/built-ins/Function/prototype/bind/15.3.4.5-6-10.js')
-rw-r--r-- | test/built-ins/Function/prototype/bind/15.3.4.5-6-10.js | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/test/built-ins/Function/prototype/bind/15.3.4.5-6-10.js b/test/built-ins/Function/prototype/bind/15.3.4.5-6-10.js index 7d46c866e..d4d1b0996 100644 --- a/test/built-ins/Function/prototype/bind/15.3.4.5-6-10.js +++ b/test/built-ins/Function/prototype/bind/15.3.4.5-6-10.js @@ -8,19 +8,19 @@ description: > a get function that overrides an inherited accessor property ---*/ -var foo = function() {}; + var foo = function () { }; -var obj = foo.bind({}); + var obj = foo.bind({}); -Object.defineProperty(Function.prototype, "property", { - get: function() { - return 3; - }, - configurable: true -}); + Object.defineProperty(Function.prototype, "property", { + get: function () { + return 3; + }, + configurable: true + }); -Object.defineProperty(obj, "property", { - set: function() {} -}); + Object.defineProperty(obj, "property", { + set: function () { } + }); -assert.sameValue(typeof(obj.property), "undefined", 'typeof (obj.property)'); +assert.sameValue(typeof (obj.property), "undefined", 'typeof (obj.property)'); |