Fix err in syntax (#1621)

Fix err in syntax
This commit is contained in:
Alexey Pyltsyn 2019-11-25 12:14:09 +03:00 committed by GitHub
commit 691c306e3b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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);