Merge pull request #1285 from jessepeterman/patch-1

Fix typo
This commit is contained in:
Ilya Kantor 2019-08-28 17:56:24 +03:00 committed by GitHub
commit 9f010c6c5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -90,7 +90,7 @@ class Article {
let article = Article.createTodays();
alert( article.title ); // Todays digest
alert( article.title ); // Today's digest
```
Now every time we need to create a today's digest, we can call `Article.createTodays()`. Once again, that's not a method of an article, but a method of the whole class.