Help With Sum All Primes Please

I’d recommend trying trying to do it and asking questions here if you get stuck, but if you want to jump to looking at the answers, I wrote the solutions on the hints page, so anything I write here would look just like that! (Expanded version of Solution 3 found here: JavaScript Performance Measurement & Variability)