Closed shawninder closed 3 years ago
Javascript has === and !== for comparing the value AND type and it's preferable to the typeless comparisons == and != 99% of the time. The typeless comparison is especially out of place when using Typescript…
===
!==
==
!=
See this StackOverflow answer for more info
You are right. It is basic concept
Yes, but I'm seeing this mistake all over the code…
I think I removed all of them by now
Javascript has
===
and!==
for comparing the value AND type and it's preferable to the typeless comparisons==
and!=
99% of the time. The typeless comparison is especially out of place when using Typescript…