mirror of
https://github.com/tc39/test262.git
synced 2025-07-25 23:14:47 +02:00
This commit is contained in:
parent
bda89b6452
commit
1f6f66cb19
@ -27,13 +27,11 @@ path: "TestCases/chapter10/10.4/10.4.2/10.4.2-2-c-1.js",
|
||||
description: "Direct val code in non-strict mode - can instantiate variable in calling context",
|
||||
|
||||
test: function testcase() {
|
||||
var x = 0;
|
||||
return function inner() {
|
||||
var x = 0;
|
||||
return function inner() {
|
||||
eval("var x = 1");
|
||||
if (x === 1)
|
||||
return true;
|
||||
} ();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user