Skip to content

Commit e9e06a5

Browse files
authored
Fix: Rewrite sentence in line 121
1 parent 8d04d0d commit e9e06a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ alert(Object.getOwnPropertyNames(User.prototype)); // constructor, sayHi
118118

119119
## Not just a syntactic sugar
120120

121-
Sometimes people say that `class` is a "syntactic sugar" (syntax that is designed to make things easier to read, but doesn't introduce anything new), because we could actually declare the same without `class` keyword at all:
121+
Sometimes people say that `class` is a "syntactic sugar" (syntax that is designed to make things easier to read, but doesn't introduce anything new), because we could actually declare the same thing without using the `class` keyword at all:
122122

123123
```js run
124124
// rewriting class User in pure functions

0 commit comments

Comments
 (0)