3 ms·
> Fwiw this exact pattern was the idiomatic defacto standard in JS before classes were added to the ECMA specs. No it wasn’t. Some people used it, to be sure,
by chrismorgan 3y ago
> Fwiw this exact pattern was the idiomatic defacto standard in JS before classes were added to the ECMA specs.
No it wasn’t. Some people used it, to be sure, but more used the prototype chain properly, storing data in `this` and all that.