Hacker News new | ask | show | jobs
by chrismorgan 977 days 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.