Function: sumConcur()
sumConcur(
concurIterable
):Promise
<number
>
Returns a promise that resolves to the sum of the numbers of
concurIterable
.
Parameters
• concurIterable: ConcurIterable
<number
>
Returns
Promise
<number
>
Example
console.log(await sumConcur(asConcur([1, 4, 6, 2])))
//=> 3