summaryrefslogtreecommitdiff
path: root/test/built-ins/Function/15.3.5.4_2-35gs.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/built-ins/Function/15.3.5.4_2-35gs.js')
-rw-r--r--test/built-ins/Function/15.3.5.4_2-35gs.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/built-ins/Function/15.3.5.4_2-35gs.js b/test/built-ins/Function/15.3.5.4_2-35gs.js
index f6e683ba2..2c4d8c6c4 100644
--- a/test/built-ins/Function/15.3.5.4_2-35gs.js
+++ b/test/built-ins/Function/15.3.5.4_2-35gs.js
@@ -10,17 +10,17 @@ description: >
flags: [noStrict]
---*/
-var f1 = function() {
- "use strict";
- (function() {
- gNonStrict();
- })();
+var f1 = function () {
+ "use strict";
+ (function () {
+ gNonStrict();
+ })();
}
assert.throws(TypeError, function() {
- f1();
+ f1();
});
function gNonStrict() {
- return gNonStrict.caller || gNonStrict.caller.throwTypeError;
+ return gNonStrict.caller || gNonStrict.caller.throwTypeError;
}