// run with no breakpoint, throw error [CORRECT]
// run with breakpoint in x, no error [INCORRECT]
// running the code without block scope {} then work as expected
{
console.log(x);
console.log(y);
let y = 10;
var x = 20;
}
// run with no breakpoint, throw error [CORRECT]
// run with breakpoint in x, no error [INCORRECT]
// running the code without block scope {} then work as expected
{
console.log(x);
console.log(y);
let y = 10;
var x = 20;
}