mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Add a note about the exposed cache to _.memoize docs.
Former-commit-id: 75939e3ed38fe8447c2f9e45b965a837901bcc4c
This commit is contained in:
3
dist/lodash.underscore.js
vendored
3
dist/lodash.underscore.js
vendored
@@ -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 _
|
||||
|
||||
Reference in New Issue
Block a user