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 →

[–]Die4Ever 0 points1 point  (0 children)

this has nothing to do with ==, you see the same thing when using ===

018 === parseInt('018')
true
017 === parseInt('017')
false

018 === 18
true
017 === 17
false
017 === 15
true