@cmdrkeen to Programmer Humor • 9 months agoThe Holy Trinity of JavaScriptimagemessage-square72arrow-up1735arrow-down111
arrow-up1724arrow-down1imageThe Holy Trinity of JavaScript@cmdrkeen to Programmer Humor • 9 months agomessage-square72
minus-square@[email protected]linkfedilink23•9 months agoIt’s actually the other way around. == has to perform type coercions as part of its equality algorithm, whereas === does not, so == has more steps.
===
is just==
with extra stepsIt’s actually the other way around. == has to perform type coercions as part of its equality algorithm, whereas === does not, so == has more steps.
It’s to be REALLY sure