Lines Matching refs:function
31 function CheckException(e) {
43 function TestLocal(s,e) {
45 return eval("(function(){" + s + ";return " + e + "})")();
55 function TestGlobal(s,e) {
83 function TestContext(s,e) {
96 function TestAll(expected,s,opt_e) {
107 function TestConflict(def0, def1) {
146 TestConflict("const x", "function x() { }");
147 TestConflict("const x = 0", "function x() { }");
148 TestConflict("const x = undefined", "function x() { }");
150 TestConflict("function x() { }", "const x");
151 TestConflict("function x() { }", "const x = 0");
152 TestConflict("function x() { }", "const x = undefined");
270 assertThrows(function() {
273 const j = 2; // This is what makes the function above throw, because the