mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 10:07:48 +00:00
Consistent use (always) of parentheses in arrow functions.
This commit is contained in:
@@ -20,7 +20,7 @@ import baseGet from './.internal/baseGet.js'
|
||||
* // => [2, 0]
|
||||
*/
|
||||
function propertyOf(object) {
|
||||
return path => object == null ? undefined : baseGet(object, path)
|
||||
return (path) => object == null ? undefined : baseGet(object, path)
|
||||
}
|
||||
|
||||
export default propertyOf
|
||||
|
||||
Reference in New Issue
Block a user