mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Bump to v4.0.1.
This commit is contained in:
@@ -4,7 +4,7 @@ import baseClone from './internal/baseClone';
|
||||
* This method is like `_.clone` except that it accepts `customizer` which
|
||||
* is invoked to produce the cloned value. If `customizer` returns `undefined`
|
||||
* cloning is handled by the method instead. The `customizer` is invoked with
|
||||
* up to five arguments; (value [, index|key, object, stack]).
|
||||
* up to four arguments; (value [, index|key, object, stack]).
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
@@ -20,7 +20,7 @@ import baseClone from './internal/baseClone';
|
||||
* }
|
||||
* }
|
||||
*
|
||||
* var el = _.clone(document.body, customizer);
|
||||
* var el = _.cloneWith(document.body, customizer);
|
||||
*
|
||||
* console.log(el === document.body);
|
||||
* // => false
|
||||
|
||||
Reference in New Issue
Block a user