diff options
Diffstat (limited to 'test/language/function-code/10.4.3-1-101-s.js')
-rw-r--r-- | test/language/function-code/10.4.3-1-101-s.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/language/function-code/10.4.3-1-101-s.js b/test/language/function-code/10.4.3-1-101-s.js index 442a00d35..ad1662426 100644 --- a/test/language/function-code/10.4.3-1-101-s.js +++ b/test/language/function-code/10.4.3-1-101-s.js @@ -7,7 +7,6 @@ description: > Strict Mode - checking 'this' (non-strict function passed as arg to String.prototype.replace from strict context) flags: [noStrict] -includes: [fnGlobalObject.js] ---*/ var x = 3; @@ -18,4 +17,4 @@ function f() { } assert.sameValue(function() {"use strict"; return "ab".replace("b", f);}(), "aa"); -assert.sameValue(x, fnGlobalObject(), 'x'); +assert.sameValue(x, this, 'x'); |