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 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/65.0.3325.162 Safari/537.36
Test name Executions per second
lodash merge 0.0 Ops/sec
spread operator 5981593.0 Ops/sec
HTML Preparation code:
Tests:
  • lodash merge

  • spread operator

Open this result on MeasureThat.net