4 ms·
I have a good computer and it took a few seconds to test each numbers it said it was testing. They were all three 5 digits even numbers…
by p4bl0 13y ago
I have a good computer and it took a few seconds to test each numbers it said it was testing. They were all three 5 digits even numbers…
- superbobry 13y agoNo wonder, just look at the code: https://github.com/ben-eysenbach/do_good/blob/master/do_good.js#L21 https://github.com/ben-eysenbach/do_good/blob/master/do_good...
- kylec 13y agoWhat? It's not returning 0 from isPrime once it hits a divisor? I think I wrote better prime-finding code in middle school.