HackerTrans
トップ新着トレンドコメント過去質問紹介求人

lurn

no profile record

コメント

lurn
·5 年前·議論
I think they’re only talking about JavaScript, in which case the forEach function doesn’t return anything. So you can do x.map(…).forEach(…) because map returns an array. But u can’t do x.forEach(…).map(…) Ur examples seem like they’re for a different language.