Private properties and methods in JavaScript
Originally posted here!
Private properties and methods are those which can be accessed only in the class.
These properties and methods are not inherited.
To make a property or a method in a class private, you need to use the # symbol before the prop...
melvingeorge-me.hashnode.dev2 min read