我使用RxJs Zip运算符获得以下代码: of(1, 2, 3) .pipe(zip(of(5), of(10))) .subscribe((a) => console.log(a));. 输出将是 [1, 5, 10].
確定! 回上一頁