6 kyu

Prime Number Generator :Simple version

205 of 206DeanBrown

Description:

Using ES2015 Generators
Write a prime number generator.

It should return each prime number in order.
It should start with 2 as the first prime number.
Without timing out it should return up the 10,003rd prime.


For a more challenging version of this Kata see
Prime Number Generator:Intermeddiate (with inputs) version

Fundamentals

More By Author:

Check out these other kata created by DeanBrown

Stats:

CreatedJul 31, 2015
PublishedJul 31, 2015
Warriors Trained552
Total Skips20
Total Code Submissions694
Total Times Completed206
JavaScript Completions205
Total Stars14
% of votes with a positive feedback rating91% of 74
Total "Very Satisfied" Votes62
Total "Somewhat Satisfied" Votes10
Total "Not Satisfied" Votes2
Ad
Contributors
  • DeanBrown Avatar
  • myjinxin2015 Avatar
Ad