mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Apply arrow function transform.
This commit is contained in:
4
rearg.js
4
rearg.js
@@ -26,8 +26,6 @@ var WRAP_REARG_FLAG = 256;
|
||||
* rearged('b', 'c', 'a')
|
||||
* // => ['a', 'b', 'c']
|
||||
*/
|
||||
var rearg = flatRest(function(func, indexes) {
|
||||
return createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes);
|
||||
});
|
||||
var rearg = flatRest((func, indexes) => createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes));
|
||||
|
||||
export default rearg;
|
||||
|
||||
Reference in New Issue
Block a user