1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-24 18:32:22 +00:00

docs: edit Object

This commit is contained in:
ruanyf 2017-06-04 12:47:03 +08:00
parent d0865f0773
commit 4019d9d01c

View File

@ -1343,7 +1343,7 @@ d.b // "b"
d.a // "a" d.a // "a"
``` ```
上面代码中,对象`a``b`被混入了对象`c` 上面代码返回一个新的对象`d`,代表了对象`a``b`被混入了对象`c`的操作
出于完整性的考虑,`Object.getOwnPropertyDescriptors`进入标准以后,还会有`Reflect.getOwnPropertyDescriptors`方法。 出于完整性的考虑,`Object.getOwnPropertyDescriptors`进入标准以后,还会有`Reflect.getOwnPropertyDescriptors`方法。