Run details:
Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
Firefox 102
Linux
Desktop
2 years ago
Test name Executions per second
map 9560602.0 Ops/sec
array.from 3451683.5 Ops/sec
for loop 11291166.0 Ops/sec
foreach 6038404.5 Ops/sec
slice 11344887.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice