mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 00:27:50 +00:00
Remove semicolons.
This commit is contained in:
14
defaults.js
14
defaults.js
@@ -1,6 +1,6 @@
|
||||
import apply from './.internal/apply.js';
|
||||
import assignInWith from './assignInWith.js';
|
||||
import customDefaultsAssignIn from './.internal/customDefaultsAssignIn.js';
|
||||
import apply from './.internal/apply.js'
|
||||
import assignInWith from './assignInWith.js'
|
||||
import customDefaultsAssignIn from './.internal/customDefaultsAssignIn.js'
|
||||
|
||||
/**
|
||||
* Assigns own and inherited enumerable string keyed properties of source
|
||||
@@ -18,12 +18,12 @@ import customDefaultsAssignIn from './.internal/customDefaultsAssignIn.js';
|
||||
* @see defaultsDeep
|
||||
* @example
|
||||
*
|
||||
* defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
|
||||
* defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 })
|
||||
* // => { 'a': 1, 'b': 2 }
|
||||
*/
|
||||
function defaults(...args) {
|
||||
args.push(undefined, customDefaultsAssignIn);
|
||||
return apply(assignInWith, undefined, args);
|
||||
args.push(undefined, customDefaultsAssignIn)
|
||||
return apply(assignInWith, undefined, args)
|
||||
}
|
||||
|
||||
export default defaults;
|
||||
export default defaults
|
||||
|
||||
Reference in New Issue
Block a user