Skip to content

Commit

Permalink
better docs
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewplummer committed Aug 6, 2015
1 parent 1d4f866 commit 2e4afb1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@
* @method memoize([fn])
* @returns Function
* @short Creates a function that will cache results for unique calls.
* @extra %memoize% can be though of as a more power %once%. Where %once% will only call a function once ever, memoized functions will be called once per unique call. A "unique call" is determined by the result of [fn], which is a hashing function. If empty, [fn] will stringify all arguments, such that any different argument signature will be unique.
* @extra %memoize% can be thought of as a more power %once%. Where %once% will only call a function once ever, memoized functions will be called once per unique call. A "unique call" is determined by the result of [fn], which is a hashing function. If empty, [fn] will stringify all arguments, such that any different argument signature will result in a unique call. This includes objects passed as arguments, which will be deep inspected to produce the cache key.
* @example
*
* var fn = (function() {
Expand Down

0 comments on commit 2e4afb1

Please sign in to comment.