Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:128.0) Gecko/20100101 Firefox/128.0
Firefox 128
Windows
Desktop
5 months ago
Test name Executions per second
map 8245.4 Ops/sec
array.from 7072.2 Ops/sec
for loop 9084.1 Ops/sec
foreach 6677.8 Ops/sec
slice 13869.2 Ops/sec
spread 7406.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice

  • spread