1
0
mirror of https://github.com/ruanyf/es6tutorial.git synced 2025-05-28 13:02:21 +00:00

Update Object.assign()

This commit is contained in:
hotoo 2014-05-21 11:46:00 +08:00
parent b744b68e61
commit 4150797281

View File

@ -30,7 +30,7 @@ target // {a:1, b:2, c:3}
``` ```
注意,如果源对象与目标对象有同名属性,则前者会覆盖后者。 注意,如果目标对象与源对象有同名属性,或多个目标对象有同名属性,则前者会覆盖后者。
```javascript ```javascript