This is an LRU (least recently used) cache implementation in JavaScript.