Run details:
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:109.0) Gecko/20100101 Firefox/109.0
Firefox 109
Ubuntu
Desktop
one year ago
Test name Executions per second
Array.from 401132.2 Ops/sec
Array.slice 1104000.5 Ops/sec
Array.push 879454.5 Ops/sec
Array[index] 830998.6 Ops/sec
Array spread 384932.6 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread