cmdrkeen@programming.dev to Programmer Humor@programming.dev · 11 months agoThe Holy Trinity of JavaScriptprogramming.devimagemessage-square68fedilinkarrow-up1716arrow-down111
arrow-up1705arrow-down1imageThe Holy Trinity of JavaScriptprogramming.devcmdrkeen@programming.dev to Programmer Humor@programming.dev · 11 months agomessage-square68fedilink
minus-squarethanks_shakey_snake@lemmy.calinkfedilinkarrow-up23·11 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.
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.