function fn1() { const obj = { prop: false }; fn2(); } function fn2() { const obj = { prop: true }; debugger; }