feat(05): finished

This commit is contained in:
Matheus Brollo Dauter 2022-10-31 13:15:19 -03:00
parent 433eb5906d
commit 835d645251

View File

@ -1,4 +1,6 @@
export function isPrime(value) { export function isPrime(value) {
// implementar logica aqui // implementar logica aqui
for (var divisão = 2; divisão < value; divisão++)
if (value % divisão == 0) return false;
return true;
} }