--- id: 5900f3761000cf542c50fe89 challengeType: 5 title: 'Problem 10: Summation of primes' videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert.strictEqual(primeSummation(17), 41, "primeSummation(17) should return 41.");' - text: '' testString: 'assert.strictEqual(primeSummation(2001), 277050, "primeSummation(2001) should return 277050.");' - text: '' testString: 'assert.strictEqual(primeSummation(140759), 873608362, "primeSummation(140759) should return 873608362.");' - text: '' testString: 'assert.strictEqual(primeSummation(2000000), 142913828922, "primeSummation(2000000) should return 142913828922.");' ```
## Challenge Seed
```js function primeSummation(n) { // Good luck! return true; } primeSummation(2000000); ```
## Solution
```js // solution required ```