From 33c7a30b10f5adf7e7f3157bd7f32dde93a1d688 Mon Sep 17 00:00:00 2001 From: Ilya Kantor Date: Sat, 8 Jul 2017 12:39:28 +0300 Subject: [PATCH] minor --- 1-js/07-object-oriented-programming/09-class/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/07-object-oriented-programming/09-class/article.md b/1-js/07-object-oriented-programming/09-class/article.md index ebfcfad8..2cf4725e 100644 --- a/1-js/07-object-oriented-programming/09-class/article.md +++ b/1-js/07-object-oriented-programming/09-class/article.md @@ -319,7 +319,7 @@ class Article { let article = Article.createTodays(); -alert( articles.title ); // Todays digest +alert( article.title ); // Todays digest ``` Now every time we need to create a todays digest, we can call `Article.createTodays()`. Once again, that's not a method of an article, but a method of the whole class.