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