Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36
Chrome 69
Mac OS X 10.13.5
Desktop
6 years ago
Test name Executions per second
map 18876602.0 Ops/sec
array.from 784830.6 Ops/sec
for loop 18043288.0 Ops/sec
foreach 15819547.0 Ops/sec
slice 45096828.0 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice


;