Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Linux
Desktop
one month ago
Test name Executions per second
for 18531594.0 Ops/sec
foreach 12780240.0 Ops/sec
for in 92647816.0 Ops/sec
for..of 1362325.4 Ops/sec
Script Preparation code:
Tests:
  • for

  • foreach

  • for in

  • for..of


;