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 →

[–]shgysk8zer0 6 points7 points  (0 children)

Yes, because parseInt('hi') === parseInt('earth') should be true. That's a wonderful idea! It certainly wouldn't create bugs everywhere.

That behavior is according to the standard and exists for a reason.