Fix err in syntax

This commit is contained in:
Ovidiu Voicu 2019-11-23 20:40:50 +02:00
parent 79417c6e73
commit d883720079

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