slimp/node_modules/lodash/_listCacheClear.js
2023-06-12 11:40:38 -04:00

14 lines
218 B
JavaScript

/**
* Removes all key-value entries from the list cache.
*
* @private
* @name clear
* @memberOf ListCache
*/
function listCacheClear() {
this.__data__ = [];
this.size = 0;
}
module.exports = listCacheClear;