diff options
Diffstat (limited to 'test/built-ins/Function/15.3.5.4_2-36gs.js')
-rw-r--r-- | test/built-ins/Function/15.3.5.4_2-36gs.js | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/test/built-ins/Function/15.3.5.4_2-36gs.js b/test/built-ins/Function/15.3.5.4_2-36gs.js index 5625d5fbf..ded271ba8 100644 --- a/test/built-ins/Function/15.3.5.4_2-36gs.js +++ b/test/built-ins/Function/15.3.5.4_2-36gs.js @@ -11,15 +11,16 @@ flags: [noStrict] ---*/ assert.throws(TypeError, function() { - (function () { - "use strict"; - function f() { - gNonStrict(); - } - f(); - })(); + (function() { + "use strict"; + + function f() { + gNonStrict(); + } + f(); + })(); }); function gNonStrict() { - return gNonStrict.caller || gNonStrict.caller.throwTypeError; + return gNonStrict.caller || gNonStrict.caller.throwTypeError; } |