Test case name | Result |
---|---|
Array.prototype.concat | |
Spread operator | |
Array.prototype.push | |
Array.prototype.push with assignment |
Test name | Executions per second |
---|---|
Array.prototype.concat | 274.7 Ops/sec |
Spread operator | 129.6 Ops/sec |
Array.prototype.push | 99329.9 Ops/sec |
Array.prototype.push with assignment | 105296.9 Ops/sec |