Skip to content

Commit 691c306

Browse files
authored
Fix err in syntax (#1621)
Fix err in syntax
2 parents 9f9f585 + d883720 commit 691c306

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)