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…
I kind of agree. At least, that's generally the way I prefer to do it. But I find I'm most creative when I'm working with other people, as long as I like working with them. They just always have ideas, and things to add…
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…
I kind of agree. At least, that's generally the way I prefer to do it. But I find I'm most creative when I'm working with other people, as long as I like working with them. They just always have ideas, and things to add…