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 | 843,862 Ops/sec |
| Push Spread | 680,930 Ops/sec |
| Push Apply | 595,711 Ops/sec |
| Push Loop | 105,527 Ops/sec |
| spread operator | 92,860 Ops/sec |