Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Chrome 74
Mac OS X 10.14.0
Desktop
5 years ago
Test name Executions per second
Array.prototype.concat 6457937.0 Ops/sec
spread operator 31766034.0 Ops/sec
Array.prototype.flat 953266.2 Ops/sec
Tests:
  • Array.prototype.concat

  • spread operator

  • Array.prototype.flat