Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/105.0.0.0 Safari/537.36
Chrome 105
Mac OS X 10.14.6
Desktop
2 years ago
Test name Executions per second
reduce + Array.prototype.concat 6839781.0 Ops/sec
Array.prototype.flat 941417.0 Ops/sec
concat using decomposition 5555803.5 Ops/sec
Tests:
  • reduce + Array.prototype.concat

  • Array.prototype.flat

  • concat using decomposition