Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:125.0) Gecko/20100101 Firefox/125.0
Firefox 125
Mac OS X 10.15
Desktop
7 months ago
Test name Executions per second
for loop 6971295.0 Ops/sec
for-in loop 10383355.0 Ops/sec
for-of loop 6743242.5 Ops/sec
reduce 2539648.5 Ops/sec
Script Preparation code:
Tests:
  • for loop

  • for-in loop

  • for-of loop

  • reduce


;