main
Last change
on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
444 bytes
|
Line | |
---|
1 | import copyObject from './_copyObject.js';
|
---|
2 | import getSymbols from './_getSymbols.js';
|
---|
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 | */
|
---|
12 | function copySymbols(source, object) {
|
---|
13 | return copyObject(source, getSymbols(source), object);
|
---|
14 | }
|
---|
15 |
|
---|
16 | export default copySymbols;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.