Run details:
Mozilla/5.0 (Linux; Android 12; SAMSUNG SM-G780G) AppleWebKit/537.36 (KHTML, like Gecko) SamsungBrowser/17.0 Chrome/96.0.4664.104 Mobile Safari/537.36
Chrome Mobile 96
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 1611761.8 Ops/sec
Using Object.assign 4643183.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;