Run details:
Mozilla/5.0 (Android 12; Mobile; rv:109.0) Gecko/111.0 Firefox/111.0
Firefox Mobile 111
Android
Mobile
one year ago
Test name Executions per second
Push item to an array 18031.8 Ops/sec
Append an item by spread 21.0 Ops/sec
Direct assign an item to an initialized array 24859.1 Ops/sec
Script Preparation code:
Tests:
  • Push item to an array

  • Append an item by spread

  • Direct assign an item to an initialized array