Post

Code Chronicles Hub
Code Chronicles Hub@codechronHub·
We often pass class methods directly into addEventListener… but do you know what `this` becomes inside the callback? Try this quick poll and test your understanding 👇 We learned in Part 1 that regular functions are Chameleons 🦎 but what happens when someone else calls them?
English
1
1
2
17
Code Chronicles Hub
Code Chronicles Hub@codechronHub·
Wondering why `this` becomes the DOM element? I covered the exact reason in Part 1 of my THIS series 👉 Watch Part 1: youtu.be/PNGY2WK3IRI
YouTube video
YouTube
English
0
1
2
27
Paylaş