Run details:
Mozilla/5.0 (Linux; Android 12; SM-A525F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.58 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
Array.from 73827.8 Ops/sec
Array.slice 96327.3 Ops/sec
Array.push 299478.9 Ops/sec
Array[index] 285162.8 Ops/sec
Array spread 78517.5 Ops/sec
Tests:
  • Array.from

  • Array.slice

  • Array.push

  • Array[index]

  • Array spread