// global scope let x = 200 // block scope { let x = 10 console.log("Inside the block: " + x) } // function scope function show() { let x = 20; console.log("Inside the function: " + x) } show(); console.log("Global x: " + x)