Skip to content

Commit

Permalink
Satisfy ESLint
Browse files Browse the repository at this point in the history
  • Loading branch information
LivInTheLookingGlass committed Aug 22, 2024
1 parent ab3d1d2 commit d6225f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/src/p0005.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ exports.p0005 = function() {
for (const x of group) {
for (const multiples of iters.combinations(group, x)) {
const num = multiples.reduce((a, x) => a * x, 1);
if (num < answer && group.every(divisor => num % divisor == 0)) {
if (num < answer && group.every((divisor) => num % divisor == 0)) {
answer = num;
}
}
Expand Down

0 comments on commit d6225f3

Please sign in to comment.