mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Bump to v4.17.0.
This commit is contained in:
4
rearg.js
4
rearg.js
@@ -2,7 +2,7 @@ import createWrap from './_createWrap.js';
|
||||
import flatRest from './_flatRest.js';
|
||||
|
||||
/** Used to compose bitmasks for function metadata. */
|
||||
var REARG_FLAG = 256;
|
||||
var WRAP_REARG_FLAG = 256;
|
||||
|
||||
/**
|
||||
* Creates a function that invokes `func` with arguments arranged according
|
||||
@@ -27,7 +27,7 @@ var REARG_FLAG = 256;
|
||||
* // => ['a', 'b', 'c']
|
||||
*/
|
||||
var rearg = flatRest(function(func, indexes) {
|
||||
return createWrap(func, REARG_FLAG, undefined, undefined, undefined, indexes);
|
||||
return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);
|
||||
});
|
||||
|
||||
export default rearg;
|
||||
|
||||
Reference in New Issue
Block a user