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

@@ -9,15 +9,15 @@
* @returns {number} Returns the index of the matched value, else `-1`.
*/
function baseIndexOfWith(array, value, fromIndex, comparator) {
let index = fromIndex - 1;
const length = array.length;
let index = fromIndex - 1
const length = array.length
while (++index < length) {
if (comparator(array[index], value)) {
return index;
return index
}
}
return -1;
return -1
}
export default baseIndexOfWith;
export default baseIndexOfWith