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,4 +1,4 @@
import get from '../get.js';
import get from '../get.js'
/**
* The base implementation of `at` without support for individual paths.
@@ -9,15 +9,15 @@ import get from '../get.js';
* @returns {Array} Returns the picked elements.
*/
function baseAt(object, paths) {
let index = -1;
const length = paths.length;
const result = Array(length);
const skip = object == null;
let index = -1
const length = paths.length
const result = Array(length)
const skip = object == null
while (++index < length) {
result[index] = skip ? undefined : get(object, paths[index]);
result[index] = skip ? undefined : get(object, paths[index])
}
return result;
return result
}
export default baseAt;
export default baseAt