summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/15.3.5.4_2-46gs.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/15.3.5.4_2-46gs.js')
-rw-r--r--test/built-ins/Function/15.3.5.4_2-46gs.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/built-ins/Function/15.3.5.4_2-46gs.js b/test/built-ins/Function/15.3.5.4_2-46gs.js
index 6dea39b00..c120259a7 100644
--- a/test/built-ins/Function/15.3.5.4_2-46gs.js
+++ b/test/built-ins/Function/15.3.5.4_2-46gs.js
@@ -11,15 +11,15 @@ flags: [noStrict]
---*/
assert.throws(TypeError, function() {
- (function () {
- var f = function () {
- "use strict";
- gNonStrict();
- }
- return f();
- })();
+ (function() {
+ var f = function() {
+ "use strict";
+ gNonStrict();
+ }
+ return f();
+ })();
});
function gNonStrict() {
- return gNonStrict.caller || gNonStrict.caller.throwTypeError;
+ return gNonStrict.caller || gNonStrict.caller.throwTypeError;
}