mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Remove constant function from examples (#3086)
This commit is contained in:
committed by
John-David Dalton
parent
64d92ddf32
commit
43a520c971
@@ -19,7 +19,7 @@ import baseUpdate from './.internal/baseUpdate.js'
|
||||
*
|
||||
* const object = {}
|
||||
*
|
||||
* updateWith(object, '[0][1]', constant('a'), Object)
|
||||
* updateWith(object, '[0][1]', () => 'a', Object)
|
||||
* // => { '0': { '1': 'a' } }
|
||||
*/
|
||||
function updateWith(object, path, updater, customizer) {
|
||||
|
||||
Reference in New Issue
Block a user