merge all challenges #1

Merged
Gabriel_Lehmann merged 19 commits from development into master 2022-10-30 04:26:03 +00:00
Showing only changes of commit 43527c0fe6 - Show all commits

View File

@ -1,4 +1,9 @@
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 > 1;
}