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

@@ -10,14 +10,14 @@
* @returns {*} Returns the accumulated value.
*/
function arrayReduceRight(array, iteratee, accumulator, initAccum) {
let length = array == null ? 0 : array.length;
let length = array == null ? 0 : array.length
if (initAccum && length) {
accumulator = array[--length];
accumulator = array[--length]
}
while (length--) {
accumulator = iteratee(accumulator, array[length], length, array);
accumulator = iteratee(accumulator, array[length], length, array)
}
return accumulator;
return accumulator
}
export default arrayReduceRight;
export default arrayReduceRight