cmdrkeen@programming.dev to Programmer Humor@programming.dev · 2 years agoThe Holy Trinity of JavaScriptprogramming.devimagemessage-square17linkfedilinkarrow-up1102arrow-down14
arrow-up198arrow-down1imageThe Holy Trinity of JavaScriptprogramming.devcmdrkeen@programming.dev to Programmer Humor@programming.dev · 2 years agomessage-square17linkfedilink
minus-squarethanks_shakey_snake@lemmy.calinkfedilinkarrow-up1·2 years 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.
It’s actually the other way around. == has to perform type coercions as part of its equality algorithm, whereas === does not, so == has more steps.