mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 18:32:22 +00:00
Update reflect.md
This commit is contained in:
parent
abc7310f11
commit
584ee0dc47
@ -256,7 +256,7 @@ var myObject = {
|
||||
Reflect.has(myObject, 'foo') // true
|
||||
```
|
||||
|
||||
如果第一个参数不是对象,`Reflect.has`和`in`运算符都会报错。
|
||||
如果第一个参数不是对象,`Reflect.has`方法会报错。
|
||||
|
||||
### Reflect.deleteProperty(obj, name)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user