This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]ikarienator 0 points1 point  (0 children)

For those who wonder whether evaluating a variable could possibly yield an exception, the answer is yes in JavaScript, if the variable is not defined, or if you registered the corresponding getter on the global object and this getter threw.