spread operator vs push Brian

Compare the new ES6 spread operator with the traditional concat() method and push
4 years ago
User agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:88.0) Gecko/20100101 Firefox/88.0
Test name Executions per second
spread operator 0.0 Ops/sec
Push 14894241.0 Ops/sec
Tests:
  • spread operator

  • Push

Open this result on MeasureThat.net