Pregunta de entrevista de CAST

Explain how inheritance work in JS?