Course contentsShow
JavaScript
Lesson 1829 of 2,72338. Object-Oriented PatternsPro lesson

Convention-Based Privacy with Underscore Prefix

Using _privateName as a social contract to signal internal properties not meant for external use.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.