Update article.md

This commit is contained in:
Alexey Pyltsyn 2019-12-19 23:05:48 +03:00 committed by GitHub
parent 1516ce9acd
commit e09a55ac69
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -281,7 +281,6 @@ With private fields that's impossible: `this['#name']` doesn't work. That's a sy
In terms of OOP, delimiting of the internal interface from the external one is called [encapsulation](https://en.wikipedia.org/wiki/Encapsulation_(computer_programming)).
It gives the following benefits:
Protection for users, so that they don't shoot themselves in the foot