Run details:
Mozilla/5.0 (Android 9; Mobile; rv:64.0) Gecko/64.0 Firefox/64.0
Firefox Mobile 64
Android
Mobile
5 years ago
Test name Executions per second
Using the spread operator 1822123.0 Ops/sec
Using Object.assign 3805112.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign