Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/118.0
Firefox 118
Windows
Desktop
one year ago
Test name Executions per second
map 15856343.0 Ops/sec
array.from 7026769.0 Ops/sec
for loop 23946450.0 Ops/sec
foreach 18713882.0 Ops/sec
slice 18898646.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice