michael@0: // vim: set ts=8 sts=4 et sw=4 tw=99: michael@0: function f(x) { michael@0: if (x) { michael@0: let y; michael@0: y = 12; michael@0: (function () { michael@0: assertEq(y, 12); michael@0: })(); michael@0: } michael@0: } michael@0: f(1); michael@0: