by koolba · 8y ago · 0 comments
This[0] page says this problem can be also seen in Typescript. But TS has the arrow function as a class method feature that in Javascript is only at stage 2 in it's way to standardization, so it's easier to solve there.
[0] https://github.com/Microsoft/TypeScript/wiki/'this'-in-TypeS...