feature #1

Merged
wellingtonCarlos merged 11 commits from feature into master 2022-11-02 18:10:07 +00:00
Showing only changes of commit 09f4747e46 - Show all commits

View File

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