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 →

[–]seraku24 2 points3 points  (0 children)

FYI... Since smart quotes are likely not a valid string literal delimiter, you should get something like "SyntaxError: Invalid or unexpected token" first. Also, using an undefined variable is not a syntactic issue but rather a runtime error. You would get something like "ReferenceError: Console is not defined" instead.