3 ms·
I don't consider Object.create() and factory functions to be "old patterns", but YMMV. How would you teach OOP basics to a JS newcomer then? Using only class w
by bpesquet 10y ago
I don't consider Object.create() and factory functions to be "old patterns", but YMMV.
How would you teach OOP basics to a JS newcomer then? Using only class without mentioning prototypes?