.extend() 合并对象
最后更新于:2022-04-02 03:23:05
[TOC]
## .extend()
### 示例
```
var object1 = {
apple: 0,
};
var object2 = {
durian: 100
};
/* merge object2 into object1 */
let obj = $.extend(object1, object2);
console.log(obj);// {apple: 0, durian: 100}
```
';