Pregunta de entrevista de General Assembly

How does inheritance work in JS objects?