Array.prototype.concat vs spread operator vs Push Spread vs Push Apply vs Push Loop| Test case name | Result |
|---|---|
| Array.prototype.concat | |
| spread operator | |
| Push Spread | |
| Push Apply | |
| Push Loop |
| Test name | Executions per second |
|---|---|
| ✓ Array.prototype.concat | 2,240,191 Ops/sec |
| Push Apply | 794,060 Ops/sec |
| Push Spread | 789,021 Ops/sec |
| Push Loop | 662,803 Ops/sec |
| spread operator | 570,539 Ops/sec |