let
msg =
'hi'
if
(
true
) {
let
msg =
'hello'
}
console
.log(msg)
let msg = 'hi' if (true) { let msg = 'hello' } console.log(msg)
Try