Run details:
Mozilla/5.0 (Android 12; Mobile; rv:99.0) Gecko/99.0 Firefox/99.0
Firefox Mobile 99
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 5256890.0 Ops/sec
Using Object.assign 8578155.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign