internet-programming/lab3/node_modules/lodash/_listCacheClear.js

14 lines
218 B
JavaScript
Raw Normal View History

2023-11-02 02:38:40 +04:00
/**
* Removes all key-value entries from the list cache.
*
* @private
* @name clear
* @memberOf ListCache
*/
function listCacheClear() {
this.__data__ = [];
this.size = 0;
}
module.exports = listCacheClear;