jroid8@lemmy.world to Programmer Humor@lemmy.ml · 1 year agoknow the features of your languagelemmy.worldimagemessage-square146fedilinkarrow-up1644arrow-down124
arrow-up1620arrow-down1imageknow the features of your languagelemmy.worldjroid8@lemmy.world to Programmer Humor@lemmy.ml · 1 year agomessage-square146fedilink
minus-squareFooBarrington@lemmy.worldlinkfedilinkarrow-up4·1 year agoOnly for the null case. For other cases it doesn’t function identically, since it also treats "", 0 and undefined the same as null.
Only for the
null
case. For other cases it doesn’t function identically, since it also treats""
,0
andundefined
the same asnull
.