mirror of
https://github.com/idanoo/GoScrobble.git
synced 2024-11-24 09:25:15 +00:00
17 lines
444 B
JavaScript
17 lines
444 B
JavaScript
|
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;
|