Skip to content

Commit

Permalink
fix: linter errors
Browse files Browse the repository at this point in the history
  • Loading branch information
zpwebbear committed Dec 5, 2024
1 parent 9a74a12 commit 3cd40f6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions lib/operators/arithmetic.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ const lcm = (...list) => {
return list.reduce(lcmPair);
};

const additionPair = (a, b, ...list) => {
return a + b;
};
const additionPair = (a, b) => a + b;

const addition = (...list) => {
if (list.length === 0) return 0;
Expand Down

0 comments on commit 3cd40f6

Please sign in to comment.