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:
parent
c4af8a9b15
commit
f5b7ee8821
1 changed files with 1 additions and 1 deletions
|
|
@ -30,7 +30,7 @@ class SoccerPlayer {
|
|||
|
||||
## 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
|
||||
class SoccerPlayer {
|
||||
|
|
|
|||
Loading…
Reference in a new issue