Array.prototype.concat vs spread operator
Compare the new ES6 spread operator with the traditional concat() method
6 years ago
User agent:
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36
Test name |
Executions per second |
lodash merge |
1673866.4 Ops/sec |
spread operator |
4008918.8 Ops/sec |
Tests:
-
lodash merge
-
spread operator
Open this result on MeasureThat.net