griD@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 years agoWe've come a long way babyi.imgur.comimagemessage-square9fedilinkarrow-up111arrow-down10
arrow-up111arrow-down1imageWe've come a long way babyi.imgur.comgriD@feddit.de to Programmer Humor@lemmy.mlEnglish · 2 years agomessage-square9fedilink
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up1·2 years agoI assume they wrote it as 5000 and it got changed to 5E3 by the minifier as it saves a byte?
minus-squaredan@upvote.aulinkfedilinkarrow-up0·2 years agoYeah that’d be my guess. Minifiers squeeze every byte. true and false get minified to !0 and !1 respectively.
“5E3”
I assume they wrote it as 5000 and it got changed to 5E3 by the minifier as it saves a byte?
Yeah that’d be my guess. Minifiers squeeze every byte.
true
andfalse
get minified to!0
and!1
respectively.