diff options
Diffstat (limited to 'test/built-ins/Function/15.3.5.4_2-94gs.js')
-rw-r--r-- | test/built-ins/Function/15.3.5.4_2-94gs.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/built-ins/Function/15.3.5.4_2-94gs.js b/test/built-ins/Function/15.3.5.4_2-94gs.js index fefc31e18..81bcd689a 100644 --- a/test/built-ins/Function/15.3.5.4_2-94gs.js +++ b/test/built-ins/Function/15.3.5.4_2-94gs.js @@ -10,15 +10,15 @@ description: > flags: [noStrict] ---*/ -var gNonStrict = function () { - return gNonStrict.caller || gNonStrict.caller.throwTypeError; +var gNonStrict = function() { + return gNonStrict.caller || gNonStrict.caller.throwTypeError; } function f() { - "use strict"; - gNonStrict(); + "use strict"; + gNonStrict(); } assert.throws(TypeError, function() { - f(); + f(); }); |