Note dell’episodio
Part 1 explained what decides 'this'. Part 2 is about taking control of it.
Alex Vega breaks down call, apply, and bind — the three methods that set
'this' explicitly — and arrow functions, which have no 'this' of their own
and inherit it from the surrounding scope. By the end, the callback bug
from Part 1 is solved two different ways, and the React event handler
pattern finally makes sense.
You can find the Medium article here .
Oh, That's Why. — JavaScript, finally making sense.
#JavaScript, #Web Development, #Programming, #Software Engineering,
#Learning to Code
Sito web: podcasters.spotify.com

