Skip to content
Snippets Groups Projects
Commit 90b5f926 authored by odinn1984's avatar odinn1984
Browse files

formatting

parent 9c7fd36a
No related branches found
No related tags found
No related merge requests found
...@@ -12,7 +12,7 @@ function isPrime(num) { ...@@ -12,7 +12,7 @@ function isPrime(num) {
} }
var primes = [] var primes = []
let i = 2; let i = 2
while(primes.length < parseInt(process.argv[2])) { while(primes.length < parseInt(process.argv[2])) {
if(isPrime(i)) primes.push(i) if(isPrime(i)) primes.push(i)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment