Skip to content

Commit 09f2aa6

Browse files
committed
Update article.md
1 parent 4963fce commit 09f2aa6

File tree

1 file changed

+1
-1
lines changed
  • 1-js/09-classes/03-static-properties-methods

1 file changed

+1
-1
lines changed

1-js/09-classes/03-static-properties-methods/article.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ User.staticMethod(); // true
2020
That actually does the same as assigning it as a property directly:
2121

2222
```js run
23-
class User { }
23+
class User() { }
2424

2525
User.staticMethod = function() {
2626
alert(this === User);

0 commit comments

Comments
 (0)