Run details:
Mozilla/5.0 (Android 10; Mobile; rv:90.0) Gecko/90.0 Firefox/90.0
Firefox Mobile 90
Android
Mobile
3 years ago
Test name Executions per second
Using the spread operator 2106534.8 Ops/sec
Using Object.assign 5448003.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign