forked from M3-Academy/challenge-algorithms-v2.0
Fix
This commit is contained in:
parent
6f51a81218
commit
0181a77c0d
@ -1,5 +1,4 @@
|
||||
export function isPrime(value) {
|
||||
let prime;
|
||||
let cont = 0;
|
||||
for (let i = 0; i <= value; i++) {
|
||||
if (value % i === 0) {
|
||||
|
Loading…
Reference in New Issue
Block a user