Otter@lemmy.ca to Programming@programming.devEnglish · edit-22 days agoWhen Your Last Name Is Null, Nothing Workswww.wsj.comexternal-linkmessage-square29fedilinkarrow-up151arrow-down13file-text
arrow-up148arrow-down1external-linkWhen Your Last Name Is Null, Nothing Workswww.wsj.comOtter@lemmy.ca to Programming@programming.devEnglish · edit-22 days agomessage-square29fedilinkfile-text
minus-squareremotelove@lemmy.calinkfedilinkarrow-up15·2 days agoWho the hell writes if 'null'? If it’s a thing, what language would interpret a string like that?
minus-squarekamiheku@sopuli.xyzlinkfedilinkarrow-up7·2 days agoNo it doesn’t? > Boolean(null) false > Boolean('null') true > null == 'null' false
minus-squareGoodEye8@lemm.eelinkfedilinkEnglisharrow-up3·2 days agoJavascript is fun. The video takes a few jabs at ruby and then gives a glimpse into the insanity that is Javascript.
Who the hell writes
if 'null'
? If it’s a thing, what language would interpret a string like that?Fucking JavaScript
No it doesn’t?
> Boolean(null) false > Boolean('null') true > null == 'null' false
Srsly?
Javascript is fun. The video takes a few jabs at ruby and then gives a glimpse into the insanity that is Javascript.
More of this please
!![] + !![] == 2