cmdrkeen@programming.dev to Programmer Humor@programming.dev · 1 year agoThe Holy Trinity of JavaScriptprogramming.devimagemessage-square50fedilinkarrow-up1658
arrow-up1648imageThe Holy Trinity of JavaScriptprogramming.devcmdrkeen@programming.dev to Programmer Humor@programming.dev · 1 year agomessage-square50fedilink
minus-squarethanks_shakey_snake@lemmy.calinkfedilinkarrow-up21·1 year 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.