source: node_modules/lodash/_copySymbols.js@ 75f5086

main
Last change on this file since 75f5086 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 446 bytes
Line 
1var copyObject = require('./_copyObject'),
2 getSymbols = require('./_getSymbols');
3
4/**
5 * Copies own symbols of `source` to `object`.
6 *
7 * @private
8 * @param {Object} source The object to copy symbols from.
9 * @param {Object} [object={}] The object to copy symbols to.
10 * @returns {Object} Returns `object`.
11 */
12function copySymbols(source, object) {
13 return copyObject(source, getSymbols(source), object);
14}
15
16module.exports = copySymbols;
Note: See TracBrowser for help on using the repository browser.