Pergunta de entrevista da empresa Knock

What’s the difference between prototypical inheritance and class based inheritance?