RxJS v6+. import { of } from 'rxjs';. import { reduce } from 'rxjs/operators';. . const source = of(1, 2, 3, 4);. const example = source.pipe(reduce((acc, ...
確定! 回上一頁