Answering the Front-end developer JavaScript interview questions to the best of my ability.
- Explain event delegation
Sometimes you need to delegate events to things.
- Explain how
this
works in JavaScript
This references the object or "thing" defined elsewhere. It's like "hey, thing I defined elsewhere, I'm talkin' to you."
- Explain how prototypal inheritance works.