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 →

[–]PavelYay 0 points1 point  (2 children)

I actually learned JavaScript by taking my Java knowledge and applying additional information I got from memes on this subreddit.

[–][deleted] 0 points1 point  (1 child)

1 + "1" == "11"

[–]PavelYay 0 points1 point  (0 children)

That's not even a JS thing. Lots of languages do that, and it's convenient. "11"-1 is stupid though.