ES proposal: private methods and accessors in JavaScript classes

added by JavaScript Kicks
7/22/2019 5:40:25 PM

627 Views

In this blog post, we look at private methods and private accessors (getters and setters) for JavaScript classes. They are a new kind of class member that can't be accessed outside the body of their class. To understand this post, you should be familiar with private class fields.


0 comments