Run details:
Mozilla/5.0 (iPad; CPU OS 11_3 like Mac OS X) AppleWebKit/604.1.34 (KHTML, like Gecko) CriOS/66.0.3359.122 Mobile/15E216 Safari/604.1
Chrome Mobile iOS 66
iOS 11.3
iPad
6 years ago
Test name Executions per second
Using the spread operator 840712.2 Ops/sec
Using Object.assign 2306748.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;