Debian Codegraph @

node/lodash/_listCacheClear.js

raw
1 /**
2 * Removes all key-value entries from the list cache.
3 *
4 * @private
5 * @name clear
6 * @memberOf ListCache
7 */
8 function listCacheClear() {
9 this.__data__ = [];
10 this.size = 0;
11 }
12
13 module.exports = listCacheClear;