Add a note about the exposed cache to _.memoize docs.

Former-commit-id: 75939e3ed38fe8447c2f9e45b965a837901bcc4c
This commit is contained in:
John-David Dalton
2013-05-29 10:30:58 -05:00
parent 54fc6df3da
commit e27bdb965c
5 changed files with 30 additions and 26 deletions

View File

@@ -3740,7 +3740,8 @@
* passed, it will be used to determine the cache key for storing the result
* based on the arguments passed to the memoized function. By default, the first
* argument passed to the memoized function is used as the cache key. The `func`
* is executed with the `this` binding of the memoized function.
* is executed with the `this` binding of the memoized function. The result
* cache is exposed as the `cache` property on the memoized function.
*
* @static
* @memberOf _