test
LET THE FUN BEGIN ....
Compare loop performance
Fastest way to list children
I want to see which one is more efficient
check what is faster
Conclusion: If your array length is small (less than 200) use Math, otherwise for large dataset "For loop" is faster.
Create Your benchmarks
FAQ: FAQ
Source code: GitHub/MeasureThat.net
Report issues: MeasureThat.net/Issues
Based on: Benchmark.js
Facebook page: https://www.facebook.com/MeasureThat.Net
Python benchmarks support: Pyodide