Skip to content

Commit 9f949bf

Browse files
authored
feat: 优化翻译
1 parent 4643531 commit 9f949bf

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
@@ -317,7 +317,7 @@ new User().sayHi(); // Hello, John!
317317

318318
所以,我们就只需在表达式中写 "<property name> = <value>",就这样。
319319

320-
类字段重要的不同之处在于,它们会在每个独立对象中被设好,而不是设在 `User.prototype`
320+
类字段的重要区别在于,它们会被挂在实例对象上,而非 `User.prototype`
321321

322322
```js run
323323
class User {

0 commit comments

Comments
 (0)