Lines Matching refs:f3
20 function f3(x = 1, y) { return x + y; } function in TestDefaults
21 assertEquals(8, f3(5, 3));
22 assertEquals(3, f3(undefined, 2));
23 assertEquals(6, f3(4, 2));
90 function f3(a = eval("x")) { var x; return a; } function in TestParameterScopingSloppy
91 assertEquals(1, f3());
144 function f3(a = x) { function x() {}; return a; } function in TestParameterScopingStrict
145 assertEquals(1, f3());
178 function f3(y = eval("var x = 2"), z = eval("x")) { return z; } function in TestSloppyEvalScoping
179 assertEquals(1, f3());
180 assertEquals(1, f3(0));
236 function f3(y = eval("var x = 2"), z = eval("x")) { return z; } function in TestStrictEvalScoping
237 assertEquals(1, f3());
238 assertEquals(1, f3(0));
265 function f3(a = eval("'use strict'; x"), x) { return a } function in TestParameterTDZSloppy
266 assertThrows(() => f3(undefined, 4), ReferenceError);
267 assertEquals(4, f3(4, 5));