What does “favor object composition over class inheritance” mean?
Experience Level: Not defined
Tags: JavaScript
Answer
Related JavaScript job interview questions
When is classical inheritance an appropriate choice?
JavaScript Not definedWhen is prototypal inheritance an appropriate choice?
JavaScript Not definedWhat are two-way data binding and one-way data flow, and how are they different?
JavaScript Not definedWhat is asynchronous programming, and why is it important in JavaScript?
JavaScript Not definedWhat are the advantages of using JavaScript?
JavaScript Not defined