DEV Community

Discussion on: πŸ’‘πŸŽ JavaScript Visualized: Generators and Iterators

Collapse
 
fabricioffv profile image
Fabricio Filipe Viapiana

Hi Lydia
Does the iterators have more performance than array.filter/reduce on searching for data in a huge array? I mean, which one is the best, an interatior funcion or filter/reduce?