Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/115.0
Firefox 115
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Array.from 582889.7 Ops/sec
Array.slice 1354826.8 Ops/sec
Array.push 878738.8 Ops/sec
Array[index] 1109454.8 Ops/sec
Array spread 586052.5 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread