Loop into two arrays with products
Compare the new ES6 spread operator with the traditional concat() method
one year ago
User agent:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/113.0
Test name |
Executions per second |
Array reduce |
1663789.6 Ops/sec |
Array for |
1703934.2 Ops/sec |
Open this result on MeasureThat.net