diff options
Diffstat (limited to 'test/language/function-code/10.4.3-1-24-s.js')
-rw-r--r-- | test/language/function-code/10.4.3-1-24-s.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/language/function-code/10.4.3-1-24-s.js b/test/language/function-code/10.4.3-1-24-s.js index 1f42d08f8..7ed433759 100644 --- a/test/language/function-code/10.4.3-1-24-s.js +++ b/test/language/function-code/10.4.3-1-24-s.js @@ -7,7 +7,6 @@ description: > Strict Mode - checking 'this' (New'ed object from FunctionExpression includes strict directive prologue) flags: [noStrict] -includes: [fnGlobalObject.js] ---*/ var f = function () { @@ -15,5 +14,5 @@ var f = function () { return this; } -assert.notSameValue((new f()), fnGlobalObject(), '(new f())'); +assert.notSameValue((new f()), this, '(new f())'); assert.notSameValue(typeof (new f()), "undefined", 'typeof (new f())'); |