LRU (Least Recently Used) Map implementation
will remove the oldest item when reach the size limit
5.15.0
const m = new LRUMap(1)
m.set('a','v') // {'a':'v'}
m.set('b','c') // {'b':'c'}
maximum cache item number, default is 1024
Readonly
[toReadonly
sizethe number of elements in the Map.
Static
Readonly
[species]
LRU (Least Recently Used) Map implementation