DEV Community

Discussion on: How to Access Object Keys, Values and Entries in JavaScript

Collapse
 
taimoorsattar7 profile image
Taimoor Sattar

For loop in the array, the traditional (for) loop has better performance than for each loop.

Collapse
 
alexdevero profile image
Alex Devero

Do you have some benchmarks?