Skip to content

Instantly share code, notes, and snippets.

View PavelDemyanenko's full-sized avatar
Right now mostly reacting

xeLL PavelDemyanenko

Right now mostly reacting
View GitHub Profile
PavelDemyanenko / .ackrc
Last active August 29, 2015 14:14 — forked from theaboutbox/.ackrc

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.