Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.90 Safari/537.36
Chrome 77
Mac OS X 10.12.5
Desktop
5 years ago
Test name Executions per second
Array.prototype.concat 1470623.6 Ops/sec
spread operator 1230368.1 Ops/sec
array.push 2025568.0 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • array.push


;