Skip to content

Commit 4d06e36

Browse files
committed
docs(object): add object.assign
1 parent 6496d01 commit 4d06e36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/object.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -582,7 +582,7 @@ processContent({ url: {port: 8000} })
582582
// }
583583
```
584584

585-
上面代码中,原意是将`url.port`改成8000,`url.host`不变。实际结果却是`options.url`覆盖掉`DEFAULTS.url`,`url.host`不存在了
585+
上面代码的原意是将`url.port`改成8000,`url.host`不变。实际结果却是`options.url`覆盖掉`DEFAULTS.url`,所以`url.host`就不存在了
586586

587587
## 属性的可枚举性
588588

0 commit comments

Comments
 (0)