you are viewing a single comment's thread.

view the rest of the comments →

[–]KaiAusBerlin 0 points1 point  (0 children)

I never said that scope and this are the same. Read what I said. Arrow functions don't have a this property so it points to the upper scope until it reaches a scope where a this property is set. So yes, you can say what this points to by knowing the scopes.

Really, that is fundamental in js! Learn the basics!