Comment on Map JavaScript APIparentComments−mashlol11yWhat if you need to access both the outer `this` and the inner `this`. I.e. you still want to get the context changed within the callback, but you also need to access the outer context.−JetSpiegel11yMake the callback take another argument?
Comments
What if you need to access both the outer `this` and the inner `this`. I.e. you still want to get the context changed within the callback, but you also need to access the outer context.
Make the callback take another argument?