`Seq.Indexed.concat` 不会返回具有多个集合的 `Seq.Indexed`

作者: tharvik创建于 2025年12月12日更新于 2025年12月12日

`Seq.Indexed().concat([1], [2]).zip()` 会出现 `Error: TypeError: Seq.Indexed(...).concat(...).zip is not a function` 错误,因为它没有返回 `Seq.Indexed` (`ConcatSeq` 衍生自 `Seq`,而不是 `Seq.Indexed`)

内容来源: immutable-js/immutable-js