griD@feddit.de to Programmer Humor@lemmy.mlEnglish · 10 months agoWe've come a long way babyi.imgur.comimagemessage-square7fedilinkarrow-up120 cross-posted to: [email protected]
arrow-up120imageWe've come a long way babyi.imgur.comgriD@feddit.de to Programmer Humor@lemmy.mlEnglish · 10 months agomessage-square7fedilink cross-posted to: [email protected]
minus-squareSorryQuick@lemmy.calinkfedilinkarrow-up0·10 months 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-up1·10 months 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.