DEV Community

Discussion on: 5 Anti-Patterns to Avoid When Working With Collections in JavaScript

Collapse
 
suraneti profile image
Suraneti Rodsuwan

If an input is a heavy huge array, using simple for-loop or while-loop for me is the best choice for optimized performance.