Remove semicolons.

This commit is contained in:
John-David Dalton
2017-02-04 23:50:10 -08:00
parent f3a8e55e70
commit 6cb3460fce
452 changed files with 4261 additions and 4261 deletions

View File

@@ -1,6 +1,6 @@
import baseGet from './baseGet.js';
import baseSet from './baseSet.js';
import castPath from './castPath.js';
import baseGet from './baseGet.js'
import baseSet from './baseSet.js'
import castPath from './castPath.js'
/**
* The base implementation of `pickBy`.
@@ -12,18 +12,18 @@ import castPath from './castPath.js';
* @returns {Object} Returns the new object.
*/
function basePickBy(object, paths, predicate) {
let index = -1;
const length = paths.length;
const result = {};
let index = -1
const length = paths.length
const result = {}
while (++index < length) {
const path = paths[index];
const value = baseGet(object, path);
const path = paths[index]
const value = baseGet(object, path)
if (predicate(value, path)) {
baseSet(result, castPath(path, object), value);
baseSet(result, castPath(path, object), value)
}
}
return result;
return result
}
export default basePickBy;
export default basePickBy