We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4963fce commit 09f2aa6Copy full SHA for 09f2aa6
1-js/09-classes/03-static-properties-methods/article.md
@@ -20,7 +20,7 @@ User.staticMethod(); // true
20
That actually does the same as assigning it as a property directly:
21
22
```js run
23
-class User { }
+class User() { }
24
25
User.staticMethod = function() {
26
alert(this === User);
0 commit comments