var a = 1; debugger b = function () { return a + 1; }; console.log(b);