mirror of
https://github.com/ruanyf/es6tutorial.git
synced 2025-05-24 10:22:23 +00:00
docs: edit Object
This commit is contained in:
parent
d0865f0773
commit
4019d9d01c
@ -1343,7 +1343,7 @@ d.b // "b"
|
||||
d.a // "a"
|
||||
```
|
||||
|
||||
上面代码中,对象`a`和`b`被混入了对象`c`。
|
||||
上面代码返回一个新的对象`d`,代表了对象`a`和`b`被混入了对象`c`的操作。
|
||||
|
||||
出于完整性的考虑,`Object.getOwnPropertyDescriptors`进入标准以后,还会有`Reflect.getOwnPropertyDescriptors`方法。
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user