diff options
Diffstat (limited to 'node_modules/lodash/_listCacheClear.js')
-rw-r--r-- | node_modules/lodash/_listCacheClear.js | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/node_modules/lodash/_listCacheClear.js b/node_modules/lodash/_listCacheClear.js new file mode 100644 index 0000000..acbe39a --- /dev/null +++ b/node_modules/lodash/_listCacheClear.js @@ -0,0 +1,13 @@ +/** + * Removes all key-value entries from the list cache. + * + * @private + * @name clear + * @memberOf ListCache + */ +function listCacheClear() { + this.__data__ = []; + this.size = 0; +} + +module.exports = listCacheClear; |