docs(class-extends): fix typo

This commit is contained in:
ruanyf
2023-12-30 14:42:23 +08:00
parent a623e19fb9
commit fc58b0c150
+1 -1
View File
@@ -183,7 +183,7 @@ B.hello() // hello world
上面代码中,`hello()``A`类的静态方法,`B`继承`A`,也继承了`A`的静态方法。
注意,静态属性是通过拷贝实现继承的。
注意,静态属性是通过拷贝实现继承的。
```javascript
class A { static foo = 100; }