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

@@ -8,15 +8,15 @@
* @returns {boolean} Returns `true` if `target` is found, else `false`.
*/
function arrayIncludesWith(array, value, comparator) {
let index = -1;
const length = array == null ? 0 : array.length;
let index = -1
const length = array == null ? 0 : array.length
while (++index < length) {
if (comparator(value, array[index])) {
return true;
return true
}
}
return false;
return false
}
export default arrayIncludesWith;
export default arrayIncludesWith