use cases for arrow functions inheriting their this value
Hey, mdn says that the
i'd appreciate any help. thanks in advance.
this value of arrow functions equates to the parent scope, i don't understand how that could be useful? For example, if i defined an arrow function in an object below that utilized the this keyword, how would i benefit from it being equal to the window object? (i'm aware if i want that behaviour then to use a regular function of course but the concept confuses me)i'd appreciate any help. thanks in advance.
