Test case name | Result |
---|---|
reduce + Array.prototype.concat | |
Array.prototype.flat | |
reduce + destructure |
Test name | Executions per second |
---|---|
reduce + Array.prototype.concat | 2430857.0 Ops/sec |
Array.prototype.flat | 703831.2 Ops/sec |
reduce + destructure | 3644162.0 Ops/sec |