Test case name | Result |
---|---|
reduce + Array.prototype.concat | |
Array.prototype.flat | |
Array.prototype.concat with spread |
Test name | Executions per second |
---|---|
reduce + Array.prototype.concat | 12059380.0 Ops/sec |
Array.prototype.flat | 1738359.0 Ops/sec |
Array.prototype.concat with spread | 3268317.0 Ops/sec |