Run details:
Mozilla/5.0 (Linux; Android 7.0; FRD-L19) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.52 Mobile Safari/537.36
Chrome Mobile 93
Android 7.0
Mobile
3 years ago
Test name Executions per second
Using the spread operator 244248.6 Ops/sec
Using Object.assign 544129.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;