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

16 行
446 B

3 年前
  1. var copyObject = require('./_copyObject'),
  2. getSymbols = require('./_getSymbols');
  3. /**
  4. * Copies own symbols of `source` to `object`.
  5. *
  6. * @private
  7. * @param {Object} source The object to copy symbols from.
  8. * @param {Object} [object={}] The object to copy symbols to.
  9. * @returns {Object} Returns `object`.
  10. */
  11. function copySymbols(source, object) {
  12. return copyObject(source, getSymbols(source), object);
  13. }
  14. module.exports = copySymbols;