alphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 5 months agoLearn to codesh.itjust.worksimagemessage-square117fedilinkarrow-up1839arrow-down152cross-posted to: [email protected]
arrow-up1787arrow-down1imageLearn to codesh.itjust.worksalphacyberranger@sh.itjust.works to Programmer Humor@lemmy.mlEnglish · 5 months agomessage-square117fedilinkcross-posted to: [email protected]
minus-squareDSTGU@sopuli.xyzlinkfedilinkarrow-up2·5 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)