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
one month ago
Test name Executions per second
[] 224658592.0 Ops/sec
new Array() 229756176.0 Ops/sec
Array() 229036832.0 Ops/sec
Array.of() 61000000.0 Ops/sec
JSON.parse() 12443852.0 Ops/sec
Object.create(Array.prototype) 259878400.0 Ops/sec
Tests:
  • []

  • new Array()

  • Array()

  • Array.of()

  • JSON.parse()

  • Object.create(Array.prototype)