☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 7 months agoThe Divine Trinity of JavaScriptlemmy.mlimagemessage-square10fedilinkarrow-up1189arrow-down17
arrow-up1182arrow-down1imageThe Divine Trinity of JavaScriptlemmy.ml☆ Yσɠƚԋσʂ ☆@lemmy.ml to Programmer Humor@lemmy.mlEnglish · 7 months agomessage-square10fedilink
minus-squareZagorath@aussie.zonelinkfedilinkarrow-up6·7 months ago== is acceptable for null checks. And basically nothing else.
minus-squareshrugal@lemm.eelinkfedilinkarrow-up2·7 months 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?