Equality checks is one of those things we all end up doing — mostly because we can’t avoid if else statements unless we try really hard.

The difference between == and === often stumps a lot of new JavaScript developers because on surface they look the same and most of the time produce the same result — until it doesn’t.

Read more here.

#javascript #node-js #web-development #angular #reactjs

25.25 GEEK