Can I ask for your help with testing some js loop syntax?
jsperf.com
jsperf.com
I was a little surprised at how much slower this was. I ended up creating another test where every case had a function call overhead. All three functional forms (forEach, map and reduce) were slower than the plain old loop
Thank you for your time.