What will be the output of the following code?
let x = 5; { let x = 10; } console.log(x);
Undefined
5
10
Error