Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Mac OS X 10.15
Desktop
one year ago
Test name Executions per second
Array.from 441351.1 Ops/sec
Array.slice 1104528.8 Ops/sec
Array.push 862384.5 Ops/sec
Array[index] 915233.8 Ops/sec
Array spread 468542.2 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread