GT2/GT2-iOS/node_modules/lodash-es/_copySymbols.js

17 lines
444 B
JavaScript
Raw Normal View History

2018-02-12 17:26:06 +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;