a zip code crypto-currency system good for red ONLY

_mapCacheClear.js 393B

12345678910111213141516171819202122
  1. var Hash = require('./_Hash'),
  2. ListCache = require('./_ListCache'),
  3. Map = require('./_Map');
  4. /**
  5. * Removes all key-value entries from the map.
  6. *
  7. * @private
  8. * @name clear
  9. * @memberOf MapCache
  10. */
  11. function mapCacheClear() {
  12. this.size = 0;
  13. this.__data__ = {
  14. 'hash': new Hash,
  15. 'map': new (Map || ListCache),
  16. 'string': new Hash
  17. };
  18. }
  19. module.exports = mapCacheClear;