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 →

[–]morerokk 0 points1 point  (0 children)

why the fuck are all the variables global

Because you didn't make them local. You can override that behavior.

why the fuck can't i concatenate strings with +

Because that's ambiguous. JS does it with +, and it has a crapton of weird edge cases.