Run details:
Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:126.0) Gecko/20100101 Firefox/126.0
Firefox 126
Windows
Desktop
6 months ago
Test name Executions per second
Adding with Function.prototype.apply on the push method 9535217.0 Ops/sec
Adding with spread 9371289.0 Ops/sec
Adding with loop 8887086.0 Ops/sec
Tests:
  • Adding with Function.prototype.apply on the push method

  • Adding with spread

  • Adding with loop