Pregunta de entrevista de Mobiquity

How does inheritance work in JavaScript?