Codewars JS Multiples de 3 ou 5
function solution(number) {
let answer = 0
for (let i = 0; i < number; i++) {
if (i % 3 == + 0 || i % 5 === 0) {
answer += i
} else {
continue;
}
}
return answer
}
Michael Futral