Lines Matching refs:undefined
99 TestConflict("const x = undefined", "var x");
100 TestConflict("const x", "var x = undefined");
101 TestConflict("const x = undefined", "var x = undefined");
103 TestConflict("var x = undefined", "const x");
104 TestConflict("var x", "const x = undefined");
105 TestConflict("var x = undefined", "const x = undefined");
107 TestConflict("const x = undefined", "var x = 0");
108 TestConflict("const x = 0", "var x = undefined");
110 TestConflict("var x = undefined", "const x = 0");
111 TestConflict("var x = 0", "const x = undefined");
115 TestConflict("const x = undefined", "function x() { }");
119 TestConflict("function x() { }", "const x = undefined");
150 TestConflict("const x = undefined", "const x");
151 TestConflict("const x", "const x = undefined");
152 TestConflict("const x = undefined", "const x = undefined");
154 TestConflict("const x = undefined", "const x = 0");
155 TestConflict("const x = 0", "const x = undefined");
188 TestAll(undefined, "with ({x:42}) { const x; }", "x");
194 eval("var undefined;");
196 assertUnreachable("undefined (1) has thrown");
199 var original_undef = undefined;
200 var undefined = 1; // Should be silently ignored.
201 assertEquals(original_undef, undefined, "undefined got overwritten");
202 undefined = original_undef;
208 assertEquals(undefined, h, "h has wrong value");