Nobody needs classes nor prototypes in JS. Objects + functions is more than enough. I stopped using these few years ago and miss nothing.
import * as fooNs from './foo'
fooNs.barBazQuuxFoo(foo, …)
vs foo.barBazQuux(…)Don't use vscode or never bother to write jsdoc/do any strict typing? Never mind. Good luck with your codebase.