My FeedDiscussionsHeadless CMS
New
Sign in
Log inSign up
Learn more about Hashnode Headless CMSHashnode Headless CMS
Collaborate seamlessly with Hashnode Headless CMS for Enterprise.
Upgrade ✨Learn more

How does property shadowing in JavaScript affect ES6 class design?

Vijay Thirugnanam's photo
Vijay Thirugnanam
·Oct 22, 2017

You probably know what Property shadowing means in JS. And you probably know how to write an ES6 class. Have you ever wondered why ES6 class does not allow to define properties but only getters and setters? The below blog post explains why.

vijayt.com/post/property-shadowing-javascri..