Update article.md

This commit is contained in:
Mauricio Paternina 2019-11-20 12:02:28 -06:00
parent 4963fce5f7
commit 09f2aa667c

View file

@ -20,7 +20,7 @@ User.staticMethod(); // true
That actually does the same as assigning it as a property directly:
```js run
class User { }
class User() { }
User.staticMethod = function() {
alert(this === User);