Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:61.0) Gecko/20100101 Firefox/61.0
Firefox 61
Mac OS X 10.13
Desktop
6 years ago
Test name Executions per second
Array.prototype.concat 1793162.5 Ops/sec
spread operator 1024863.8 Ops/sec
array.push 5431191.5 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • array.push


;