Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_11_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
Chrome 75
Mac OS X 10.11.6
Desktop
5 years ago
Test name Executions per second
Array.prototype.concat 998972.1 Ops/sec
spread operator 1339986.9 Ops/sec
array.push 2699191.2 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • array.push


;