ReactiveX / IxJS

The Interactive Extensions for JavaScript

Home Page:https://reactivex.io/IxJS/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scan with no seed swallows the value if the source only produces a single element

trxcllnt opened this issue · comments

assert(Iterable.of('goodbye').scan((x, y) => x+y).count() === 0)
assert(AsyncIterable.of('cruel world').scan((x, y) => x+y).count() === 0)