Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/84.0.4147.89 Safari/537.36
Chrome 84
Windows 7
Desktop
3 years ago
Test name Executions per second
Array.prototype.concat 4929295.0 Ops/sec
spread operator 33154592.0 Ops/sec
Push 22541824.0 Ops/sec
Tests:
  • Array.prototype.concat

  • spread operator

  • Push