DEV Community

Discussion on: Why is using javascript “for loop” for array iteration a bad idea?

Collapse
_prosen profile image
Prosen Ghosh Author

Yes, forEach() method also a higher order function.

But as i mention before that, i use those methods depending on the context where it fits the most.