您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

17 行
470 B

3 年前
  1. var copyObject = require('./_copyObject'),
  2. keys = require('./keys');
  3. /**
  4. * The base implementation of `_.assign` without support for multiple sources
  5. * or `customizer` functions.
  6. *
  7. * @private
  8. * @param {Object} object The destination object.
  9. * @param {Object} source The source object.
  10. * @returns {Object} Returns `object`.
  11. */
  12. function baseAssign(object, source) {
  13. return object && copyObject(source, keys(source), object);
  14. }
  15. module.exports = baseAssign;