Skip to content

Commit

Permalink
docs: update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
rob893 committed Dec 4, 2021
1 parent 7fe0857 commit f9934ef
Show file tree
Hide file tree
Showing 2 changed files with 328 additions and 9 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ const cache = new LRUCache();
// Set the key testKey to value testValue
cache.set('testKey', 'testValue');

for (const key of cache.values()) {
for (const key of cache.keys()) {
// do something with the key
}
```
Expand Down
Loading

0 comments on commit f9934ef

Please sign in to comment.