這時arr 的元素都已經遍歷過了,所以不會直接把10 回傳。 scan 整體的運作方式都跟reduce 一樣,範例如下 var source = Rx.Observable.from('hello') .zip( ...
確定! 回上一頁