Run details:
Mozilla/5.0 (Linux; Android 9; Mi A2 Lite) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.76 Mobile Safari/537.36
Chrome Mobile 72
Android
Mobile
5 years ago
Test name Executions per second
Using the spread operator 735852.1 Ops/sec
Using Object.assign 787504.8 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;