Skip to content

Commit d883720

Browse files
author
Ovidiu Voicu
committed
Fix err in syntax
1 parent 79417c6 commit d883720

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)