Skip to content

Commit 7708588

Browse files
🩹 fix(Integer#abs): Remove bogus parameter in #opposite call.
1 parent 199dc17 commit 7708588

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Integer.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ export class Integer {
331331
}
332332

333333
abs() {
334-
return this.sign() >= 0 ? this : this.opposite(this);
334+
return this.sign() >= 0 ? this : this.opposite();
335335
}
336336

337337
iabs() {

0 commit comments

Comments
 (0)