Skip to content

Commit 5f7d046

Browse files
🐛 FIX: remove extra code
1 parent f19f152 commit 5f7d046

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

Diff for: Project-Euler/Problem005.js

-3
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ What is the smallest positive number that is evenly divisible by all of the numb
66
*/
77

88
export const findSmallestMultiple = (maxDivisor) => {
9-
if (isNaN(maxDivisor)) {
10-
return 0
11-
}
129
const divisors = Array.from({ length: maxDivisor }, (_, i) => i + 1)
1310
let num = maxDivisor + 1
1411
let result

0 commit comments

Comments
 (0)