You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

13 lines
218 B

4 years ago
  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. module.exports = listCacheClear;