siriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agothe hardest exam questionlemmy.mlimagemessage-square112fedilinkarrow-up1716arrow-down122
arrow-up1694arrow-down1imagethe hardest exam questionlemmy.mlsiriusmart@lemmy.ml to Programmer Humor@lemmy.ml · 7 months agomessage-square112fedilink
minus-squareFargeol@lemmy.mllinkfedilinkarrow-up43arrow-down1·edit-27 months ago1 - Easiest way to run a script in your browser 2 - Always finds its way if inputs are bad Nan - undefined
minus-squareSkullgrid@lemmy.worldlinkfedilinkarrow-up14arrow-down2·7 months agoNaN is of type number. because fuck me.
minus-squarekevincox@lemmy.mllinkfedilinkarrow-up9·7 months agoTo be fair, this is actually reasonable. But it does look stupid on the face of it.
minus-squarespace@lemmy.dbzer0.comlinkfedilinkarrow-up2·7 months agoEasiest? More like… The only way.
1 - Easiest way to run a script in your browser
2 - Always finds its way if inputs are bad
Nan - undefined
NaN is of type number. because fuck me.
IEEE-754
To be fair, this is actually reasonable. But it does look stupid on the face of it.
Easiest? More like… The only way.