Array.prototype.concat vs spread operator vs Array.prototype.push & Array.from| Test case name | Result |
|---|---|
| Array.prototype.concat | |
| spread operator | |
| Array.prototype.push & Array.from |
| Test name | Executions per second |
|---|---|
| ✓ spread operator | 885,322 Ops/sec |
| Array.prototype.concat | 221,340 Ops/sec |
| Array.prototype.push & Array.from | 1,892 Ops/sec |