Create an add() method that adds a new entry to the cache object. It should take a key (a string) and a val (a T generic).
Create a get() method that gets an entry from the cache object. It should take a key (a string) and returns some object. Return undefined if the entry is missing.
Great, now we can add and remove entries from our cache... but we don't want it to just grow forever! Let's add a loop that cleans up old entries.
I belive it intends to say add and retrive entries becuase it doesnt say to make a remove method.