Run details:
Mozilla/5.0 (Linux; Android 9; Redmi Note 7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.67 Mobile Safari/537.36
Chrome Mobile 75
Android
Mobile
5 years ago
Test name Executions per second
Using the spread operator 1806799.1 Ops/sec
Using Object.assign 1996035.4 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;