☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 1 year agoThe Divine Trinity of JavaScriptlemmy.mlimagemessage-square10fedilinkarrow-up1190arrow-down17
arrow-up1183arrow-down1imageThe Divine Trinity of JavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆ to Programmer Humor@lemmy.mlEnglish • 1 year agomessage-square10fedilink
minus-squareZagorathlinkfedilink6•1 year ago== is acceptable for null checks. And basically nothing else.
minus-square@shrugal@lemm.eelinkfedilink2•1 year agoIt should probably be replaced with a more bespoke operator for that, like x isempty or something.
== is acceptable for null checks. And basically nothing else.
It should probably be replaced with a more bespoke operator for that, like
x isempty
or something.The
??
operator?