Fix typo under Private heading of definitions

Fix documentation to specify private methods and properties, rather than protected, with two underscores.
This commit is contained in:
Dan Bowling 2021-05-20 16:25:29 -06:00 committed by GitHub
parent c4af8a9b15
commit f5b7ee8821
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ class SoccerPlayer {
## Private ## Private
Methods and properties are protected when they contain two underscores or are explicitly marked as private in the code. They can be only used within the class where they are defined (developers of Lion components). Methods and properties are private when they contain two underscores or are explicitly marked as private in the code. They can be only used within the class where they are defined (developers of Lion components).
```js ```js
class SoccerPlayer { class SoccerPlayer {