main
Last change
on this file since 0c6b92a was d565449, checked in by stefan toskovski <stefantoska84@…>, 3 months ago |
Update repo after prototype presentation
|
-
Property mode
set to
100644
|
File size:
468 bytes
|
Rev | Line | |
---|
[d565449] | 1 | import copyObject from './_copyObject.js';
|
---|
| 2 | import getSymbolsIn from './_getSymbolsIn.js';
|
---|
| 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 | export default copySymbolsIn;
|
---|
Note:
See
TracBrowser
for help on using the repository browser.