Run details:
Mozilla/5.0 (iPad; CPU OS 13_1 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) CriOS/74.0.3729.121 Mobile/15E148 Safari/605.1
Chrome Mobile iOS 74
iOS 13.1
Tablet
4 years ago
Test name Executions per second
Using the spread operator 273229.5 Ops/sec
Using Object.assign 1711091.9 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;