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