Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/96.0.4664.27 Safari/537.36 Edg/96.0.1054.8
Chrome 96
Linux
Desktop
2 years ago
Test name Executions per second
Array.prototype.concat 2486778.0 Ops/sec
spread operator 11045310.0 Ops/sec
Array.prototype.flat 622713.3 Ops/sec
Tests:
  • Array.prototype.concat

  • spread operator

  • Array.prototype.flat