0

I want to cache each output of a function. That means once it's calculated for a particular input, the next call should take it from the cache.

If fresh calculation it can be calculated again.

Can _.memoize do that?

Oleg V. Volkov
  • 21,719
  • 4
  • 44
  • 68
Velu S Gautam
  • 822
  • 9
  • 18

0 Answers0