Run details:
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Windows 7
Desktop
one year ago
Test name Executions per second
map 15925021.0 Ops/sec
array.from 7512871.5 Ops/sec
for loop 26491568.0 Ops/sec
foreach 20290232.0 Ops/sec
slice 20718062.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice