Run details:
Mozilla/5.0 (Android 9; Mobile; rv:92.0) Gecko/92.0 Firefox/92.0
Firefox Mobile 92
Android
Mobile
3 years ago
Test name Executions per second
Using the spread operator 3587125.5 Ops/sec
Using Object.assign 6939157.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign