3 ms·
It's slightly more now with private members, but still prototype based inheritance and definitely not the same. Composition will still usually perform better a
by tracker1 3y ago
It's slightly more now with private members, but still prototype based inheritance and definitely not the same. Composition will still usually perform better all said.
If you want something more, better to use TypeScript or step to something like Rust+Wasm.