diff options
Diffstat (limited to 'test/language/function-code/10.4.3-1-91-s.js')
-rw-r--r-- | test/language/function-code/10.4.3-1-91-s.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/language/function-code/10.4.3-1-91-s.js b/test/language/function-code/10.4.3-1-91-s.js index 3bb35a53c..c64008d65 100644 --- a/test/language/function-code/10.4.3-1-91-s.js +++ b/test/language/function-code/10.4.3-1-91-s.js @@ -7,8 +7,8 @@ description: > Strict Mode - checking 'this' (non-strict function declaration called by strict Function.prototype.call(null)) flags: [noStrict] -includes: [fnGlobalObject.js] ---*/ -function f() { return this===fnGlobalObject();}; +var global = this; +function f() { return this===global;}; assert((function () {"use strict"; return f.call(null); })()); |