Answer would be Option 3 i.e. Uncaught ReferenceError: name is not defined as in the line no. 1 computeName() call jumps control flow to the execution of the function which tries to access the variable name which is still in the Temporal Dead Zone. Hence, it is not accessible.

To know more, visit --

For useful and amazing frontend and programming tutorials: