@[email protected] to Programmer [email protected] • 2 years agoIt gets better the longer it runsfeddit.deimagemessage-square34fedilinkarrow-up1287arrow-down13
arrow-up1284arrow-down1imageIt gets better the longer it runsfeddit.de@[email protected] to Programmer [email protected] • 2 years agomessage-square34fedilink
minus-square@[email protected]linkfedilink3•2 years agoI don’t get it. Can someone Explain Like I’m 5? There is a function that always returns false, and then a bunch of random output, and one failed? Is this like another weird quirk in the JavaScript VM or something? Lol?
minus-square@[email protected]linkfedilink7•2 years agoOhhhh, so there isn’t anything crazy going on here. It’s just literally running that function and tallying up how accurate it is as a prime number checker. …and it gets more accurate the longer it runs. Okay, I see now. Thanks, lol.
I don’t get it. Can someone Explain Like I’m 5?
There is a function that always returns false, and then a bunch of random output, and one failed?
Is this like another weird quirk in the JavaScript VM or something? Lol?
deleted by creator
Ohhhh, so there isn’t anything crazy going on here.
It’s just literally running that function and tallying up how accurate it is as a prime number checker.
…and it gets more accurate the longer it runs. Okay, I see now. Thanks, lol.