michael@0: // |reftest| require-or(debugMode,skip) michael@0: // Any copyright is dedicated to the Public Domain. michael@0: // http://creativecommons.org/licenses/publicdomain/ michael@0: michael@0: var a = 0; michael@0: function f() { michael@0: let (a = let (x = 1) x) {} michael@0: } michael@0: michael@0: trap(f, 4, 'assertEq(evalInFrame(1, "a"), 0)'); michael@0: f(); michael@0: michael@0: reportCompare(0, 0, 'ok');