From d88372007928942d9bcdb172d7085d187ead47ec Mon Sep 17 00:00:00 2001 From: Ovidiu Voicu Date: Sat, 23 Nov 2019 20:40:50 +0200 Subject: [PATCH] Fix err in syntax --- 1-js/09-classes/03-static-properties-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/09-classes/03-static-properties-methods/article.md b/1-js/09-classes/03-static-properties-methods/article.md index dd09a026..ab08f2de 100644 --- a/1-js/09-classes/03-static-properties-methods/article.md +++ b/1-js/09-classes/03-static-properties-methods/article.md @@ -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);