alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 1 month agoLearn to codesh.itjust.worksimagemessage-square119fedilinkarrow-up1860arrow-down154cross-posted to: programmer_humor@programming.dev
arrow-up1806arrow-down1imageLearn to codesh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 1 month agomessage-square119fedilinkcross-posted to: programmer_humor@programming.dev
minus-squareDSTGUlinkfedilinkarrow-up2·1 month 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)