Run details:
Mozilla/5.0 (Android 12; Mobile; rv:109.0) Gecko/110.0 Firefox/110.0
Firefox Mobile 110
Android
Mobile
one year ago
Test name Executions per second
Using the spread operator 2484498.8 Ops/sec
Using Object.assign 3496795.5 Ops/sec
Babel 477704.7 Ops/sec
Script Preparation code:
Tests:
  • Using the spread operator

  • Using Object.assign

  • Babel