n
th prime number?
nthPrime(6)
should return 13.
testString: assert.strictEqual(nthPrime(6), 13, 'nthPrime(6)
should return 13.');
- text: nthPrime(10)
should return 29.
testString: assert.strictEqual(nthPrime(10), 29, 'nthPrime(10)
should return 29.');
- text: nthPrime(100)
should return 541.
testString: assert.strictEqual(nthPrime(100), 541, 'nthPrime(100)
should return 541.');
- text: nthPrime(1000)
should return 7919.
testString: assert.strictEqual(nthPrime(1000), 7919, 'nthPrime(1000)
should return 7919.');
- text: nthPrime(10001)
should return 104743.
testString: assert.strictEqual(nthPrime(10001), 104743, 'nthPrime(10001)
should return 104743.');
```