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