Fix typo
fix typo in comment to match code example
This commit is contained in:
parent
2b14644218
commit
dbc67c6f9f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue