4. Design an In-Memory Cache ( LLD - JAVASCRIPT )