Run details:
Mozilla/5.0 (Android 10; Mobile; rv:105.0) Gecko/105.0 Firefox/105.0
Firefox Mobile 105
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 2081414.6 Ops/sec
Using Object.assign 2829060.5 Ops/sec
Babel 456790.7 Ops/sec
Script Preparation code:
Tests:
  • Using the spread operator

  • Using Object.assign

  • Babel