3 ms·
Classes are a relatively new feature to the language and certainly aren't required. Classes are a bit troublesome in that lexical scope doesn't directly apply
by austincheney 9y ago
Classes are a relatively new feature to the language and certainly aren't required. Classes are a bit troublesome in that lexical scope doesn't directly apply to class parameters, which is why class parameters cannot achieve explicit privacy unlike other references in the language.
- paulgb 9y agoRight, I was referring to ES6 classes because that's what the article specifically refers to.