Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.169 YaBrowser/19.6.0.1583 Yowser/2.5 Safari/537.36
Yandex Browser 19
Mac OS X 10.12.6
Desktop
5 years ago
Test name Executions per second
Array.prototype.concat 966893.2 Ops/sec
spread operator 1620989.5 Ops/sec
array.push 2638755.5 Ops/sec
Script Preparation code:
Tests:
  • Array.prototype.concat

  • spread operator

  • array.push


;