mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
fix: line feed causes HTML rendering error view
This commit is contained in:
parent
eba1ada2e0
commit
5730890e86
@ -761,8 +761,7 @@ class Counter {
|
||||
}
|
||||
```
|
||||
|
||||
上面代码中,`#x`是一个私有属性,它的读写都通过`get #x()`和`set
|
||||
#x()`操作另一个私有属性`#xValue`来完成。
|
||||
上面代码中,`#x`是一个私有属性,它的读写都通过`get #x()`和`set #x()`操作另一个私有属性`#xValue`来完成。
|
||||
|
||||
私有属性不限于从`this`引用,只要是在类的内部,实例也可以引用私有属性。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user