UI for Zipcoin Blue

_copySymbolsIn.js 470B

1234567891011121314151617
  1. var copyObject = require('./_copyObject'),
  2. getSymbolsIn = require('./_getSymbolsIn');
  3. /**
  4. * Copies own and inherited symbols of `source` to `object`.
  5. *
  6. * @private
  7. * @param {Object} source The object to copy symbols from.
  8. * @param {Object} [object={}] The object to copy symbols to.
  9. * @returns {Object} Returns `object`.
  10. */
  11. function copySymbolsIn(source, object) {
  12. return copyObject(source, getSymbolsIn(source), object);
  13. }
  14. module.exports = copySymbolsIn;