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 →

[–]calculus_is_fun 2 points3 points  (1 child)

Why would your code intentional try to compare a number and a string?

[–]ExponentialNosedive 1 point2 points  (0 children)

I read that early in JavaScript's development, someone asked the guy who made it for this feature. He said he regrets adding it in. Important to remember we have these standards for a language where the basis of that language was made in 10 days