What I asked was "is that the only change you made"
Notably, you shouldn't have that "auto-corrected," because arrows and standard functions differ in how they bind this. That should be hand-corrected. In many cases in practice, this will damage transitional-style classes.
Dude, way to be a jerk to someone who kindly took the time to respond to that question (why would they think you were asking if they made any other changes when you're looking right at the 1-3 lines of code?). Also, their response was perfectly accurate for this code example we are looking at, the context of "this" is totally irrelevant here.
(why would they think you were asking if they made any other changes when you're looking right at the 1-3 lines of code?).
The point of the original question was to ask why this person is holding up a non-change as a change. I was trying to make sure I wasn't overlooking something else more substantive.
Also, their response was perfectly accurate for this code example we are looking at, the context of "this" is totally irrelevant here.
Yes, I'm ... kind of relying on that.
Literally the only difference between the two pieces of code is something that is totally irrelevant here.
It's like taking out the newlines and "proposing it as an alternative." Literally.
-5
u/StoneCypher May 14 '21
Thanks, I didn't ask what an arrow was.
What I asked was "is that the only change you made"
Notably, you shouldn't have that "auto-corrected," because arrows and standard functions differ in how they bind
this. That should be hand-corrected. In many cases in practice, this will damage transitional-style classes.