Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:82.0) Gecko/20100101 Firefox/82.0
Firefox 82
Mac OS X 10.14
Desktop
4 years ago
Test name Executions per second
foreach 30538.2 Ops/sec
for 18526.1 Ops/sec
map 15057.6 Ops/sec
Script Preparation code:
Tests:
  • foreach

  • for

  • map


;