c8ca3ef7c4346e343da7ee9f94463e1d1d5445fe
[yaffs-website] / node_modules / grunt-legacy-log-utils / node_modules / lodash / _mapClear.js
1 var Hash = require('./_Hash'),
2     Map = require('./_Map');
3
4 /**
5  * Removes all key-value entries from the map.
6  *
7  * @private
8  * @name clear
9  * @memberOf MapCache
10  */
11 function mapClear() {
12   this.__data__ = { 'hash': new Hash, 'map': Map ? new Map : [], 'string': new Hash };
13 }
14
15 module.exports = mapClear;