2 ms·
What was the original point?
by thaumasiotes 6y ago
What was the original point?
- lurn 6y agoI 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.