Skip to content

Commit fc58b0c

Browse files
committed
docs(class-extends): fix typo
1 parent a623e19 commit fc58b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/class-extends.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ B.hello() // hello world
183183

184184
上面代码中,`hello()``A`类的静态方法,`B`继承`A`,也继承了`A`的静态方法。
185185

186-
注意,静态属性是通过软拷贝实现继承的
186+
注意,静态属性是通过浅拷贝实现继承的
187187

188188
```javascript
189189
class A { static foo = 100; }

0 commit comments

Comments
 (0)