mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-02 08:07:50 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import apply from './.internal/apply.js';
|
||||
import customDefaultsMerge from './.internal/customDefaultsMerge.js';
|
||||
import mergeWith from './mergeWith.js';
|
||||
import apply from './.internal/apply.js'
|
||||
import customDefaultsMerge from './.internal/customDefaultsMerge.js'
|
||||
import mergeWith from './mergeWith.js'
|
||||
|
||||
/**
|
||||
* This method is like `defaults` except that it recursively assigns
|
||||
@@ -16,12 +16,12 @@ import mergeWith from './mergeWith.js';
|
||||
* @see defaults
|
||||
* @example
|
||||
*
|
||||
* defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } });
|
||||
* defaultsDeep({ 'a': { 'b': 2 } }, { 'a': { 'b': 1, 'c': 3 } })
|
||||
* // => { 'a': { 'b': 2, 'c': 3 } }
|
||||
*/
|
||||
function defaultsDeep(...args) {
|
||||
args.push(undefined, customDefaultsMerge);
|
||||
return apply(mergeWith, undefined, args);
|
||||
args.push(undefined, customDefaultsMerge)
|
||||
return apply(mergeWith, undefined, args)
|
||||
}
|
||||
|
||||
export default defaultsDeep;
|
||||
export default defaultsDeep
|
||||
|
||||
Reference in New Issue
Block a user