mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 09:27:49 +00:00
Apply arrow function transform.
This commit is contained in:
@@ -8,9 +8,7 @@ import baseGet from './_baseGet.js';
|
||||
* @returns {Function} Returns the new accessor function.
|
||||
*/
|
||||
function basePropertyDeep(path) {
|
||||
return function(object) {
|
||||
return baseGet(object, path);
|
||||
};
|
||||
return object => baseGet(object, path);
|
||||
}
|
||||
|
||||
export default basePropertyDeep;
|
||||
|
||||
Reference in New Issue
Block a user