alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 5 days agoLearn to codesh.itjust.worksexternal-linkmessage-square115fedilinkarrow-up1829arrow-down149cross-posted to: programmer_humor@programming.dev
arrow-up1780arrow-down1external-linkLearn to codesh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 5 days agomessage-square115fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareDSTGU@sopuli.xyzlinkfedilinkarrow-up2·3 days agoHave fun with JS, everyones most consistent and beloved language. https://jsisweird.com/ My favorite part is empty array truthiness. [] is falsy ( [] == true returns false ), but ![] is false. !![] is obviously true. (! is inversion as in all normal languages)
Have fun with JS, everyones most consistent and beloved language.
https://jsisweird.com/
My favorite part is empty array truthiness. [] is falsy ( [] == true returns false ), but ![] is false. !![] is obviously true. (! is inversion as in all normal languages)