Did you know that private variables and functions in classes may be created using a special syntax supported by browsers and the JavaScript language? Let's have a look at it!
A # at the beginning of a property or method's name makes it private: To make a property or method private, add a # to the beginning of its name.
#javascript #javascriptclass #es6
Ещё видео!