Run details:
Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Chrome 102
Windows 7
Desktop
one year ago
Test name Executions per second
reduce + Array.prototype.concat 7712462.5 Ops/sec
Array.prototype.flat 1036892.9 Ops/sec
concat using decomposition 8187871.0 Ops/sec
Tests:
  • reduce + Array.prototype.concat

  • Array.prototype.flat

  • concat using decomposition