Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Ubuntu
Desktop
7 months ago
Test name Executions per second
Array.from 495412.2 Ops/sec
Array.slice 834771.8 Ops/sec
Array.push 842363.9 Ops/sec
Array[index] 868953.2 Ops/sec
Array spread 508231.8 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread