4 ms·
A lot of the typical use cases for classes in a language like Java are replaced by the user's choice of module format in JavaScript (ES6, commonjs, etc.). Thoug
by connorelsea 9y ago
A lot of the typical use cases for classes in a language like Java are replaced by the user's choice of module format in JavaScript (ES6, commonjs, etc.). Though, I don't think "this" was that hard to learn (See: YDKJS) and classes/prototypes definitely are an important tool in the JavaScript toolbelt.