Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/63.0.3239.132 Safari/537.36
Chrome 63
Windows
Other
2025 years ago
Test name Executions per second
map 31392250.0 Ops/sec
array.from 654990.1 Ops/sec
for loop 20938772.0 Ops/sec
foreach 16663088.0 Ops/sec
slice 6058257.5 Ops/sec
Tests:
  • map

  • array.from

  • for loop

  • foreach

  • slice


;