Publicis Sapient interview question

Implement inheritance in JS?