(to, _from)
| 342 | ***********************************************************************************************/ |
| 343 | //对象浅拷贝,参数(to, _from)循环_from的值,会覆盖掉to的值 |
| 344 | function extend(to, _from) { |
| 345 | for (var key in _from) { |
| 346 | to[key] = _from[key]; |
| 347 | } |
| 348 | return to |
| 349 | } |
| 350 | |
| 351 | /** |
| 352 | * Merge an Array of Objects into a single Object. |
no outgoing calls
no test coverage detected