Last change
on this file since 6fe77af was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago |
initial commit
|
-
Property mode
set to
100644
|
File size:
470 bytes
|
Line | |
---|
1 | var copyObject = require('./_copyObject'),
|
---|
2 | getSymbolsIn = require('./_getSymbolsIn');
|
---|
3 |
|
---|
4 | /**
|
---|
5 | * Copies own and inherited 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 | */
|
---|
12 | function copySymbolsIn(source, object) {
|
---|
13 | return copyObject(source, getSymbolsIn(source), object);
|
---|
14 | }
|
---|
15 |
|
---|
16 | module.exports = copySymbolsIn;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.