1
0
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:
bigbird231 2019-05-08 12:24:18 +08:00 committed by GitHub
parent abc7310f11
commit 584ee0dc47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -256,7 +256,7 @@ var myObject = {
Reflect.has(myObject, 'foo') // true
```
如果第一个参数不是对象,`Reflect.has``in`运算符都会报错。
如果第一个参数不是对象,`Reflect.has`方法会报错。
### Reflect.deleteProperty(obj, name)