Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 11_2_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.150 Safari/537.36
Chrome 88
Mac OS X 11.2.3
Desktop
3 years ago
Test name Executions per second
Array.prototype.concat.apply 5234610.5 Ops/sec
Array.prototype.concat + spread operator 5422963.0 Ops/sec
Array.prototype.flat 965490.7 Ops/sec
Tests:
  • Array.prototype.concat.apply

  • Array.prototype.concat + spread operator

  • Array.prototype.flat