Run details:
Mozilla/5.0 (Linux; U; Android 10; ru-ru; Redmi Note 7 Build/QKQ1.190910.002) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/89.0.4389.116 Mobile Safari/537.36 XiaoMi/MiuiBrowser/12.13.2-gn
Chrome Mobile 89
Android
Mobile
3 years ago
Test name Executions per second
Using the spread operator 548460.4 Ops/sec
Using Object.assign 1796178.1 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;