Skip to content

Commit 3a071c9

Browse files
authored
fix typo
1 parent db3b3f8 commit 3a071c9

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)