Lines Matching refs:kw
91 for (var kw of ['let x = 2', 'const x = 2', 'class x { }']) {
93 TestAll(`eval("x"); ${kw};`);
94 TestAll(`eval("x + 1;"); ${kw};`);
95 TestAll(`eval("x = 1;"); ${kw};`);
96 TestAll(`eval("x += 1;"); ${kw};`);
97 TestAll(`eval("++x;"); ${kw};`);
98 TestAll(`eval("x++;"); ${kw};`);
101 TestAll(`function f() { eval("var y = 2;"); x + 1; }; f(); ${kw};`);
102 TestAll(`function f() { eval("var y = 2;"); x = 1; }; f(); ${kw};`);
103 TestAll(`function f() { eval("var y = 2;"); x += 1; }; f(); ${kw};`);
104 TestAll(`function f() { eval("var y = 2;"); ++x; }; f(); ${kw};`);
105 TestAll(`function f() { eval("var y = 2;"); x++; }; f(); ${kw};`);