Lines Matching refs:f12
126 var f12 = function f(x = f) { function f() {}; return x; } function in TestParameterScopingSloppy
127 assertSame(f12, f12());
164 var f12 = function f(x = f) { const f = 0; return x; } function in TestParameterScopingStrict
165 assertSame(f12, f12());
187 function f12(z = eval("var y = 2"), b = y) {} function in TestSloppyEvalScoping
188 assertThrows(f12, ReferenceError);
245 function f12(z = eval("var y = 2"), b = y) {} function in TestStrictEvalScoping
246 assertThrows(f12, ReferenceError);
280 function f12(a = eval("x"), x = 2) { return a } function in TestParameterTDZSloppy
281 assertThrows(() => f12(), ReferenceError);
282 assertThrows(() => f12(undefined), ReferenceError);
283 assertThrows(() => f12(undefined, 4), ReferenceError);
284 assertEquals(4, f12(4, 5));