Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:130.0) Gecko/20100101 Firefox/130.0
Firefox 130
Windows
Desktop
3 months ago
Test name Executions per second
map 6649.0 Ops/sec
array.from 5831.3 Ops/sec
for loop 7422.1 Ops/sec
foreach 5350.7 Ops/sec
slice 10598.6 Ops/sec
spread 5956.4 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice

  • spread