Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.13
Desktop
one year ago
Test name Executions per second
map 10682592.0 Ops/sec
array.from 4871402.5 Ops/sec
for loop 13375962.0 Ops/sec
foreach 12083023.0 Ops/sec
slice 12583183.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice