Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:79.0) Gecko/20100101 Firefox/79.0
Firefox 79
Mac OS X 10.15
Desktop
3 years ago
Test name Executions per second
Spread operator 13484050.0 Ops/sec
Push with spread operator 3524962.0 Ops/sec
Push with simple for 17491160.0 Ops/sec
Script Preparation code:
Tests:
  • Spread operator

  • Push with spread operator

  • Push with simple for