mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 17:07:49 +00:00
Apply even more let/const transforms.
This commit is contained in:
@@ -25,6 +25,6 @@ import baseRest from './_baseRest.js';
|
||||
* _.map(objects, _.method(['a', 'b']));
|
||||
* // => [2, 1]
|
||||
*/
|
||||
var method = baseRest((path, args) => object => baseInvoke(object, path, args));
|
||||
const method = baseRest((path, args) => object => baseInvoke(object, path, args));
|
||||
|
||||
export default method;
|
||||
|
||||
Reference in New Issue
Block a user