mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Remove semicolons.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import baseGet from './baseGet.js';
|
||||
import baseSlice from './baseSlice.js';
|
||||
import baseGet from './baseGet.js'
|
||||
import baseSlice from './baseSlice.js'
|
||||
|
||||
/**
|
||||
* Gets the parent value at `path` of `object`.
|
||||
@@ -10,7 +10,7 @@ import baseSlice from './baseSlice.js';
|
||||
* @returns {*} Returns the parent value.
|
||||
*/
|
||||
function parent(object, path) {
|
||||
return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1));
|
||||
return path.length < 2 ? object : baseGet(object, baseSlice(path, 0, -1))
|
||||
}
|
||||
|
||||
export default parent;
|
||||
export default parent
|
||||
|
||||
Reference in New Issue
Block a user