development #1

Merged
MarcelloMartins merged 23 commits from development into master 2022-10-31 21:45:09 +00:00
Showing only changes of commit 4e704d8c93 - Show all commits

View File

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