Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d2ae45d

Browse files
Update article.md
Fixed typo
1 parent ae8248b commit d2ae45d

File tree

1 file changed

+1
-1
lines changed
  • 1-js/09-classes/04-private-protected-properties-methods

1 file changed

+1
-1
lines changed

‎1-js/09-classes/04-private-protected-properties-methods/article.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ There's a finished JavaScript proposal, almost in the standard, that provides la
192192

193193
Privates should start with `#`. They are only accessible from inside the class.
194194

195-
For instance, here's a private `#waterLimit` property and the water-checking private method `#checkWater`:
195+
For instance, here's a private `#waterLimit` property and the water-checking private method `#fixWaterAmount`:
196196

197197
```js run
198198
class CoffeeMachine {

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /