mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-29 05:42:20 +00:00
docs(object): edit null 判断运算符
This commit is contained in:
parent
d59b30173d
commit
4425866c10
@ -896,7 +896,7 @@ function Component(props) {
|
||||
}
|
||||
```
|
||||
|
||||
上面代码判断`props`参数的`enabled`属性是否赋值,等同于下面的写法。
|
||||
上面代码判断`props`参数的`enabled`属性是否赋值,基本等同于下面的写法。
|
||||
|
||||
```javascript
|
||||
function Component(props) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user