GoScrobble/web/node_modules/lodash-es/_copySymbols.js

17 lines
444 B
JavaScript
Raw Permalink Normal View History

2022-04-25 02:47:15 +00:00
import copyObject from './_copyObject.js';
import getSymbols from './_getSymbols.js';
/**
* Copies own symbols of `source` to `object`.
*
* @private
* @param {Object} source The object to copy symbols from.
* @param {Object} [object={}] The object to copy symbols to.
* @returns {Object} Returns `object`.
*/
function copySymbols(source, object) {
return copyObject(source, getSymbols(source), object);
}
export default copySymbols;