Lines Matching refs:function
35 function CheckException(e) {
42 function TestFunction(s,e) {
44 return eval("(function(){" + s + ";return " + e + "})")();
51 function TestBlock(s,e) {
53 return eval("(function(){ if (true) { " + s + "; }; return " + e + "})")();
59 function TestAll(expected,s,opt_e) {
63 assertEquals(expected, TestFunction(s,e), "function:'" + msg + "'");
68 function TestConflict(s) {
74 function TestNoConflict(s) {
82 "function x() { }",
83 "let x = function() {}",
88 "const x = function() {}",
95 "var x = function() {}",
123 TestConflict('(function (x) { ' + letbinds[l] + '; })()');
133 TestNoConflict('(function (x) { ' + varbinds[v] + '; })()');