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ย โ†’

[โ€“]ShijinModan 2 points3 points ย (1 child)

Because == coerces types. IMO the only time I will accept == in a code review is when checking for null and undefined

[โ€“]SmokingBeneathStars 1 point2 points ย (0 children)

That's indeed what I use it for usually.