To use or not to use ES6 classes?
Yes, use ES6 classes
88%
No, do not use ES6 classes
12%
113 votes · Closed
Probably the most discussable feature of ES6 - "class" syntactic sugar. Many people like it and many - not.
Is it good to have a "class" in language with no classes?
Do JS needs class complexity?
Should you use "class" keyword or keep using object literal notation which I found the most simple (ES6 actually made it even shorter) or prototypes, factories, anything else? Which one you use?
Do you think ES6 classes will become really popular and everyone will use them after X years or do ES6 classes will be removed in future?
How to do this with class?
Object.getOwnPropertyDescriptor(this._form.constructor.prototype, 'elements')
.get.call(this._form);
https://github.com/joshburgess/not-awesome-es6-classes
https://www.sitepoint.com/javascript-object-creation-patterns-best-practises/