Run details:
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/89.0.4389.114 Safari/537.36 OPR/75.0.3969.171
Opera 75
Linux
Desktop
3 years ago
Test name Executions per second
Array.prototype.concat 4832313.0 Ops/sec
spread operator 31026492.0 Ops/sec
Array.prototype.flat 739393.9 Ops/sec
Tests:
  • Array.prototype.concat

  • spread operator

  • Array.prototype.flat