* delete oldest key existing in map by the help of iterator
()
| 56 | * delete oldest key existing in map by the help of iterator |
| 57 | */ |
| 58 | #removeLeastRecentlyUsed() { |
| 59 | this.cache.delete(this.cache.keys().next().value) |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * @param {string} key |