Skip to content

Commit

Permalink
fixing memoizeWith documentation ... again
Browse files Browse the repository at this point in the history
  • Loading branch information
CrossEye committed Nov 28, 2018
1 parent ce73786 commit 7a68594
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 7a68594

Please sign in to comment.