芝麻web文件管理V1.00
编辑当前文件:/home/rejoandoctor/public_html/node_modules/collect.js/dist/methods/union.js
'use strict'; module.exports = function union(object) { var _this = this; var collection = JSON.parse(JSON.stringify(this.items)); Object.keys(object).forEach(function (prop) { if (_this.items[prop] === undefined) { collection[prop] = object[prop]; } }); return new this.constructor(collection); };