Find the least recently used pages that is present in the set
let lru = Number . MAX_VALUE , val = Number . MIN_VALUE ; for ( let itr of s . values ( ) ) { let temp = itr ; if ( indexes [ temp ] < lru ) { lru = indexes [ temp ] ; val = temp ; } }