isaacs / node-lru-cache

A fast cache that automatically deletes the least recently used items
http://isaacs.github.io/node-lru-cache/
ISC License
5.38k stars 353 forks source link

Fixed Documentation Mistake in README.md #180

Closed 1cedsoda closed 2 years ago

1cedsoda commented 3 years ago

key is the first parameter, value the second, not the other way around forEach(function(value,key,cache) => forEach(function(key,value,cache)