DEV Community 👩‍💻👨‍💻

Discussion on: Implementing a Simple LRU Cache in JavaScript

Collapse
pentacular profile image
pentacular

Delegate the problem to the caller -- have them provide a value to return in the not-found case.