DEV Community

Discussion on: Compare for Loop and forEach Function in JavaScript

Collapse
rgaiken profile image
rgaiken

jsperf.com/for-vs-forin-vs-forof-v...

For these type of performance comparisons, I'd highly recommend looking at jsperf.com.

Collapse
zhiyueyi profile image
Zhiyue Yi Author

Thanks for sharing! It’s awesome!!