mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Consistent use (always) of parentheses in arrow functions.
This commit is contained in:
@@ -22,7 +22,7 @@ import invoke from './invoke.js'
|
||||
* // => [2, 0]
|
||||
*/
|
||||
function methodOf(object, args) {
|
||||
return path => invoke(object, path, args)
|
||||
return (path) => invoke(object, path, args)
|
||||
}
|
||||
|
||||
export default methodOf
|
||||
|
||||
Reference in New Issue
Block a user