mirror of https://github.com/jkjoy/sunpeiwen.git
14 lines
218 B
JavaScript
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;
|