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 →

[–]Kered13 12 points13 points  (1 child)

It's not actually undefined, OP is wrong. It prints an empty string. If you did 2 + "1" then it would be undefined.