aboutsummaryrefslogtreecommitdiff
path: root/node_modules/lodash/_listCacheClear.js
blob: acbe39a597cf48078399c9e0b7218f21f402721d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/**
 * Removes all key-value entries from the list cache.
 *
 * @private
 * @name clear
 * @memberOf ListCache
 */
function listCacheClear() {
  this.__data__ = [];
  this.size = 0;
}

module.exports = listCacheClear;