4 ms·
> All inheritance in JS is prototype based inheritance. The class syntax is just syntax sugar prototypes. And async/await is promise based yet it results in qu
by The_Colonel 6y ago
> All inheritance in JS is prototype based inheritance. The class syntax is just syntax sugar prototypes.
And async/await is promise based yet it results in quite different programming style. It doesn't matter which primitives are used for feature implementation.
> The reason people don't use inheritance in JS has nothing to do with browser support.
I don't think so. Since the advent of ES6/Babel/TypeScript I see inheritance on frontend daily.