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