Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:132.0) Gecko/20100101 Firefox/132.0
Firefox 132
Mac OS X 10.15
Desktop
27 days ago
Test name Executions per second
Array.from 974805.4 Ops/sec
Array.slice 2660799.0 Ops/sec
Array.push 2310157.8 Ops/sec
Array[index] 2468807.2 Ops/sec
Array spread 1090549.1 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread