Track JavaScript (Legacy)
JavaScript (Legacy) track

Nth Prime

An exercise from the JavaScript (Legacy) track
medium

About this exercise

Given a number n, determine what the nth prime is.

algorithms
control flow conditionals
control flow loops
exception handling
integers
math
View all solutions