mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-06 01:47:48 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -24,7 +24,7 @@ import customDefaultsAssignIn from './_customDefaultsAssignIn.js';
|
||||
* _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
|
||||
* // => { 'a': 1, 'b': 2 }
|
||||
*/
|
||||
var defaults = baseRest(function(args) {
|
||||
var defaults = baseRest(args => {
|
||||
args.push(undefined, customDefaultsAssignIn);
|
||||
return apply(assignInWith, undefined, args);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user