This project is a reference corpus for exploring similarities and differences in conventional JavaScript inheritance ("Naive"), ES6 Classes ("Classes"), as well as an example of trying to ape classes ("Sugarfree"). It consists of a chart of JavaScript property descriptors where comparison is possible, and of reference implementations of class-like structures/systems, in:
- ES6 classes
- naive construction usage
- naive prototype extending via
Object.create
- Sugarfree "ES6 emulation-mode"
- ES6 extend which PropertyDescriptor wise looks identical to ES6 Classes