JavaScript's New Private Class Fields, and How to Use Them

added by JavaScript Kicks
6/5/2018 7:42:16 AM

415 Views

ES6 introduced classes to JavaScript, but they're too simplistic for complex applications. Class fields (also referred to as class properties) aim to deliver simpler constructors with private and static members. The proposal is currently at TC39 stage 3: candidate and could appear in ES2019 (ES10).


0 comments