ITADN

配列の章にArray.prototype.flatMapを追加する

#1835Closedazu 创建于 2025-08-11
Status: Proposal
A
azucommented
- #1825 IteratorでflatMapを紹介するので、Arrayにないとバランスが悪いため。 Iteratorにはflat()がないので、flatMapの紹介を避けるのは微妙 Arrayの場合はflatがあるため、flatMapを省略していた - https://github.com/asciidwango/js-primer/issues/847 - https://github.com/asciidwango/js-primer/issues/860 そのため、ArrayにもflatMapを追加するのが良いと思っている。 ## TODO - 配列の章にflatMapを追加する ES2019
关闭于 2025-08-11 0 条评论