develop #11

Merged
HenriqueSantosSantana merged 20 commits from develop into master 2022-10-28 01:03:41 +00:00
Showing only changes of commit 2814f545d4 - Show all commits

View File

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