Merge pull request #205 from usernamehw/patch-3

Extra space & missing newline
This commit is contained in:
Ilya Kantor 2017-09-27 00:49:57 +03:00 committed by GitHub
commit 5a304d4719

View file

@ -58,8 +58,9 @@ function showPrimes(n) {
function isPrime(n) {
for (let i = 2; i < n; i++) {
if ( n % i == 0) return false;
if (n % i == 0) return false;
}
return true;
}
```