refactor: it's easier to test next edit without the minus

This commit is contained in:
Jacob Kim 2025-07-30 10:18:10 -07:00
parent 850b9611c3
commit ec26d5719d

View file

@ -8,7 +8,6 @@ class Calculator {
return this;
}
subtract(number) {
this.result -= number;
return this;
}