mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
17 lines
468 B
JavaScript
17 lines
468 B
JavaScript
|
import copyObject from './_copyObject.js';
|
||
|
import getSymbolsIn from './_getSymbolsIn.js';
|
||
|
|
||
|
/**
|
||
|
* Copies own and inherited 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 copySymbolsIn(source, object) {
|
||
|
return copyObject(source, getSymbolsIn(source), object);
|
||
|
}
|
||
|
|
||
|
export default copySymbolsIn;
|