6 ms·
10 Interview Questions Every JavaScript Developer Should Know
- tennien 9y agoClassical inheritance is rarely "an appropriate choice" but prototypal inheritance is appropriate "any time you need inheritance"? Classical inheritance is syntactic sugar for prototypal inheritance.