Making members of a class private or protected.
In this lesson we will:
Briefly discuss proper documentation of functions (JSDoc, example)
Discuss the difference between public, private, and protected
See what the "+" was all about on class diagrams
Learn how to hide members of a class
Learn how to create getters and setters for protection and validation
13 - Protecting members of a class π click for the lesson repo