Skip to content
loading...

re: Latest thing I learned about Object and friends VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Use "===" instead of "=="

I'm pretty sure I did and it was all the same results... == and === both compare by identity for objects and functions. Or am I wrong about that too?

Well you're right, it's just a better practice to use '===', it's a 'safety mechanism' in JS

code of conduct - report abuse