Producing primes with JavaScript/ES6 generators | Hacker News Reader