Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:109.0) Gecko/20100101 Firefox/111.0
Firefox 111
Windows
Desktop
one year ago
Test name Executions per second
map 33735340.0 Ops/sec
array.from 13993313.0 Ops/sec
for loop 53126716.0 Ops/sec
foreach 31963876.0 Ops/sec
slice 37003744.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice