shedOlderEntries(numberOfEntries) {
        for (let i = numberOfEntries; i > 0; i--) {
            const key = this.store.entries().next().value[0];
            this.delete(key);
        }
    }
/**
     *  Deletes n oldest entries where n = numberOfEntries, from the store.
     *  @private
     *  @param {number} numberOfEntries Number of older entries to be deleted.
     *  @time O(n)
     */
Deletes n oldest entries where n = numberOfEntries, from the store.
@private
@param {number} numberOfEntries Number of older entries to be deleted.
Deletes n oldest entries where n = numberOfEntries from the store . @private @param { number } numberOfEntries Number of older entries to be deleted .
shedOlderEntries(numberOfEntries) {
        for (let i = numberOfEntries; i > 0; i--) {
            const key = this.store.entries().next().value[0];
            this.delete(key);
        }
    }
shedOlderEntries ( numberOfEntries ) { for ( let i = numberOfEntries ; i > 0 ; i -- ) { const key = this . store . entries ( ) . next ( ) . value [ 0 ] ; this . delete ( key ) ; } }
Deletes n oldest entries where n = numberOfEntries, from the store.
Deletes n oldest entries where n = numberOfEntries from the store .