← Code LabNode.js0/50 solved · 0%
Patterns · medium

33. Simple Memoizer

Cache function results based on arguments.

Implement `memoize(fn)` for single-argument functions.
Required in your answer: new Map()cache.has