JavaScript program to print all prime numbers in a given interval:

Created with Sketch.