There’s a relatively common interview question that asks you to write a chunk of JavaScript to find prime numbers. I thought I’d tackle it without the pressure of someone watching over my shoulder. To that end, I built getPrimes.js to do the work for me.