Update article.md

Fixed typo
This commit is contained in:
Dorin David 2021-05-20 09:08:28 +02:00 committed by GitHub
parent ae8248bb56
commit d2ae45deef
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. 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 ```js run
class CoffeeMachine { class CoffeeMachine {