Skip to content

Instantly share code, notes, and snippets.

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

xeLL PavelDemyanenko

:octocat:
Right now mostly reacting
View GitHub Profile
@PavelDemyanenko
PavelDemyanenko / .ackrc
Last active August 29, 2015 14:14 — forked from theaboutbox/.ackrc
--type-add=css=.sass,.less,.scss
--type-add=ruby=.rake,.rsel,.builder,.thor
--type-add=html=.haml,.html.erb,.html.haml
--type-add=js=.js.erb,.coffee
--type-set=cucumber=.feature
--type-set=c=.c,.cpp,.ino,.pde,.h
--ignore-dir=vendor
--ignore-dir=log
--ignore-dir=tmp
--ignore-dir=doc

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.