source:
frontend/node_modules/lodash/_listCacheClear.js
| Last change on this file was 9af201e, checked in by , 12 days ago | |
|---|---|
|
|
| File size: 218 bytes | |
| Rev | Line | |
|---|---|---|
| [9af201e] | 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; |
Note:
See TracBrowser
for help on using the repository browser.
