alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 9 months agoLearn to codesh.itjust.worksexternal-linkmessage-square111linkfedilinkarrow-up10arrow-down10
arrow-up10arrow-down1external-linkLearn to codesh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 9 months agomessage-square111linkfedilink
minus-squareDSTGU@sopuli.xyzlinkfedilinkarrow-up0·9 months 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)