Capgemini Engineering interview question

Inheritance in javascript and es6 features.