Skip to content

Commit

Permalink
Merge pull request #2722 from CrossEye/v0.26.1-tweaks
Browse files Browse the repository at this point in the history
V0.26.1 tweaks
  • Loading branch information
CrossEye committed Nov 28, 2018
2 parents 07e2a56 + 7a68594 commit b0c7441
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions source/memoizeWith.js
Expand Up @@ -4,10 +4,11 @@ import _has from './internal/_has';


/**
* Takes an additional function that will be applied to a given argument set
* and used to create the cache key under which the results of the function to be
* memoized will be stored. Care must be taken when implementing key generation
* to avoid clashes that may overwrite previous entries erroneously.
* Creates a new function that, when invoked, caches the result of calling `fn`
* for a given argument set and returns the result. Subsequent calls to the
* memoized `fn` with the same argument set will not result in an additional
* call to `fn`; instead, the cached result for that set of arguments will be
* returned.
*
*
* @func
Expand Down

0 comments on commit b0c7441

Please sign in to comment.