here, mergeMap uses toArray() merge data into array. Reduce. const source = of(1, 2, 3, 4); const example = source.pipe(reduce((acc, val) ...
確定! 回上一頁