← Code LabJavaScript0/50 solved · 0%
Performance · hard

41. Memoization

Cache pure results.

Write `memoize(fn)` caching by the first argument.
Required in your answer: Map