Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/114.0
Firefox 114
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
map 19619558.0 Ops/sec
array.from 9418192.0 Ops/sec
for loop 28185654.0 Ops/sec
foreach 23459546.0 Ops/sec
slice 23797196.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice