Memoizes a function, caching its return values based on serialized arguments.
The function to memoize
A memoized version of the function
const expensive = memoizeFunction((a, b) => a * b); Copy
const expensive = memoizeFunction((a, b) => a * b);
Memoizes a function, caching its return values based on serialized arguments.