You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 1-js/09-classes/04-private-protected-properties-methods/article.md
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -281,7 +281,6 @@ With private fields that's impossible: `this['#name']` doesn't work. That's a sy
281
281
282
282
In terms of OOP, delimiting of the internal interface from the external one is called [encapsulation](https://en.wikipedia.org/wiki/Encapsulation_(computer_programming)).
283
283
284
-
285
284
It gives the following benefits:
286
285
287
286
Protection for users, so that they don't shoot themselves in the foot
0 commit comments