Test case name | Result |
---|---|
Array.prototype.concat Append | |
spread operator Append | |
Array.prototype.concat Preppend | |
spread operator Preppend |
Test name | Executions per second |
---|---|
Array.prototype.concat Append | 10973729.0 Ops/sec |
spread operator Append | 30906408.0 Ops/sec |
Array.prototype.concat Preppend | 9895801.0 Ops/sec |
spread operator Preppend | 20817246.0 Ops/sec |