Skip to content

Commit 4d46f12

Browse files
authored
Merge pull request #2606 from Dorin-David/patch-1
Update article.md
2 parents 5f927bd + d2ae45d commit 4d46f12

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)