Question d’entretien chez SAP

How does inheritance works in javascript