Skip to content

Commit bd6052f

Browse files
authored
Merge pull request #1715 from baooab/patch-4
fix typo
2 parents a9f1dde + 3a071c9 commit bd6052f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

1-js/09-classes/01-class/article.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ class User {
264264
let user = new User("John");
265265
alert(user.name); // John
266266

267-
user = new User(""); // Name too short.
267+
user = new User(""); // Name is too short.
268268
```
269269

270270
The class declaration creates getters and setters in `User.prototype`, like this:

0 commit comments

Comments
 (0)