Merge branch 'release/v5.00'

This commit is contained in:
Gustavo Rallenson Gonçalves Da Silva 2022-10-28 20:41:15 -03:00
commit e9b0081298

View File

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