development #11

Merged
luizfelipe9627 merged 20 commits from development into master 2022-11-02 13:01:51 +00:00
Showing only changes of commit 24299f9c26 - Show all commits

View File

@ -1,4 +1,9 @@
export function isPrime(value) {
// implementar logica aqui
for(let i = 2; i < value; i++) {
if(value % i === 0) return false;
else if(value === 2) return true;
}
return value > 1;
}