Apply even more let/const transforms.

This commit is contained in:
John-David Dalton
2017-01-09 12:23:34 -08:00
parent e6152a97e8
commit dc687c1d85
177 changed files with 433 additions and 437 deletions

View File

@@ -2,7 +2,7 @@ import createWrap from './_createWrap.js';
import flatRest from './_flatRest.js';
/** Used to compose bitmasks for function metadata. */
var WRAP_REARG_FLAG = 256;
const WRAP_REARG_FLAG = 256;
/**
* Creates a function that invokes `func` with arguments arranged according
@@ -26,6 +26,6 @@ var WRAP_REARG_FLAG = 256;
* rearged('b', 'c', 'a')
* // => ['a', 'b', 'c']
*/
var rearg = flatRest((func, indexes) => createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes));
const rearg = flatRest((func, indexes) => createWrap(func, WRAP_REARG_FLAG, undefined, undefined, undefined, indexes));
export default rearg;