Merge pull request #2606 from Dorin-David/patch-1

Update article.md
This commit is contained in:
Ilya Kantor 2021-06-13 11:03:35 +03:00 committed by GitHub
commit 4d46f121c2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -192,7 +192,7 @@ There's a finished JavaScript proposal, almost in the standard, that provides la
Privates should start with `#`. They are only accessible from inside the class.
For instance, here's a private `#waterLimit` property and the water-checking private method `#checkWater`:
For instance, here's a private `#waterLimit` property and the water-checking private method `#fixWaterAmount`:
```js run
class CoffeeMachine {