3 ms·
It explicitly states it avoids the past and focuses on es2015, but then talks about old patterns.
by rco8786 10y ago
It explicitly states it avoids the past and focuses on es2015, but then talks about old patterns.
- bpesquet 10y agoI 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?