summaryrefslogtreecommitdiff
path: root/test/language/function-code/10.4.3-1-90gs.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/function-code/10.4.3-1-90gs.js')
-rw-r--r--test/language/function-code/10.4.3-1-90gs.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/language/function-code/10.4.3-1-90gs.js b/test/language/function-code/10.4.3-1-90gs.js
index 2abf2882e..6cbb0f609 100644
--- a/test/language/function-code/10.4.3-1-90gs.js
+++ b/test/language/function-code/10.4.3-1-90gs.js
@@ -7,10 +7,10 @@ description: >
Strict - checking 'this' from a global scope (non-strict function
declaration called by strict Function.prototype.call())
flags: [noStrict]
-includes: [fnGlobalObject.js]
---*/
-function f() { return this===fnGlobalObject();};
+var global = this;
+function f() { return this===global;};
if (! ((function () {"use strict"; return f.call();})())){
throw "'this' had incorrect value!";
}