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 | 90.3 Ops/sec |
Spread operator | 1.7 Ops/sec |
Array.prototype.push | 10378.4 Ops/sec |
Array.prototype.push with assignment | 10775.9 Ops/sec |