1 2 3 4 5 6 7 8 9 10 11
// Arguments with default parameters can shadow const locals. "use strict"; function f() { const x = 1; return (x = 0) => x; } var g = f(); assertEq(g(), 0);