1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
// Annex B.3.3.1 disallows Annex B lexical function behavior when redeclaring a // parameter. (function(f) { if (true) function f() { } assertEq(f, 123); }(123)); (function(f) { { function f() { } } assertEq(f, 123); }(123)); if (typeof reportCompare === "function") reportCompare(true, true);