Home | History | Annotate | Download | only in harmony

Lines Matching full:eval

38     eval("(function(){" + s + "; })")();
48 eval("(function(){ {" + s + ";} })")();
92 TestAll('eval("x + 1;"); let x;');
93 TestAll('eval("x = 1;"); let x;');
94 TestAll('eval("x += 1;"); let x;');
95 TestAll('eval("++x;"); let x;');
96 TestAll('eval("x++;"); let x;');
97 TestAll('eval("x"); const x = 1;');
99 // Use before initialization with check for eval-shadowed bindings.
100 TestAll('function f() { eval("var y = 2;"); x + 1; }; f(); let x;');
101 TestAll('function f() { eval("var y = 2;"); x = 1; }; f(); let x;');
102 TestAll('function f() { eval("var y = 2;"); x += 1; }; f(); let x;');
103 TestAll('function f() { eval("var y = 2;"); ++x; }; f(); let x;');
104 TestAll('function f() { eval("var y = 2;"); x++; }; f(); let x;');
111 assertEquals(2, eval("g1()"));
120 assertEquals(3, eval("g2()"));
176 // Test that resolution of let bound variables works with scopes that call eval.
182 eval("1 + 1");