continue-custom/core/edit/lazy/test-examples/no-lazy-single-class.js.diff
2024-09-18 18:40:02 -07:00

30 lines
No EOL
325 B
Diff

class Calculator {
constructor() {
this.result = 0;
}
reset() {
this.result = 0;
return this;
}
}
---
reset() {
this.result = 1;
return this;
}
---
class Calculator {
constructor() {
this.result = 0;
}
reset() {
- this.result = 0;
+ this.result = 1;
return this;
}
}