David Fugate 2011-07-18 11:08:15 -07:00
parent bda89b6452
commit 1f6f66cb19

View File

@ -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;
} ();
}
});