You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The only reason I don't use strict equality is because I can save a byte and I am not concerned about type coercion since I know both the left hand side and the right hand side are strings.
Since you asked, I'm not of the opinion that strict equality checks should always be used. There's lots of situations where == or != produces better code. It's just more important that the JavaScript language is understood and used appropriately...
morphdom/lib/index.js
Line 222 in ea14445
Is there any particular reason to not use strict equality comparison here?
The text was updated successfully, but these errors were encountered: