Run details:
Mozilla/5.0 (Android 10; Mobile; rv:75.0) Gecko/75.0 Firefox/75.0
Firefox Mobile 75
Android
Mobile
4 years ago
Test name Executions per second
Using the spread operator 2476222.8 Ops/sec
Using Object.assign 4798951.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign