Run details:
Mozilla/5.0 (Android 13; Mobile; rv:107.0) Gecko/107.0 Firefox/107.0
Firefox Mobile 107
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 7095539.0 Ops/sec
Using Object.assign 12860807.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign