time-to-botec

Benchmark sampling in different programming languages
Log | Files | Refs | README

_listCacheClear.js (218B)


      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;