michael@0: // Arguments with default parameters can shadow const locals. michael@0: michael@0: "use strict"; michael@0: michael@0: function f() { michael@0: const x = 1; michael@0: return (x = 0) => x; michael@0: } michael@0: michael@0: var g = f(); michael@0: assertEq(g(), 0);