n个素数是多少? nthPrime(6)应该返回13。
testString: assert.strictEqual(nthPrime(6), 13);
- text: nthPrime(10)应该返回29。
testString: assert.strictEqual(nthPrime(10), 29);
- text: nthPrime(100)应该返回541。
testString: assert.strictEqual(nthPrime(100), 541);
- text: nthPrime(1000)应该返回7919。
testString: assert.strictEqual(nthPrime(1000), 7919);
- text: nthPrime(10001)应该返回104743。
testString: assert.strictEqual(nthPrime(10001), 104743);
```