diff options
Diffstat (limited to 'test/language/function-code/10.4.3-1-84-s.js')
-rw-r--r-- | test/language/function-code/10.4.3-1-84-s.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/language/function-code/10.4.3-1-84-s.js b/test/language/function-code/10.4.3-1-84-s.js index 467a323e5..ff5a7f904 100644 --- a/test/language/function-code/10.4.3-1-84-s.js +++ b/test/language/function-code/10.4.3-1-84-s.js @@ -7,8 +7,7 @@ description: > Strict Mode - checking 'this' (non-strict function declaration called by strict new'ed Function constructor) flags: [noStrict] -includes: [fnGlobalObject.js] ---*/ -fnGlobalObject().f = function() { return this!==undefined;}; +this.f = function() { return this!==undefined;}; assert((function () {return new Function("\"use strict\";return f();")();})()); |