Run details:
Mozilla/5.0 (Linux; arm_64; Android 11; SM-G770F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/90.0.4430.216 YaBrowser/21.5.3.120.00 SA/3 Mobile Safari/537.36
Yandex Browser 21
Android
Mobile
3 years ago
Test name Executions per second
Using the spread operator 1484588.6 Ops/sec
Using Object.assign 3845038.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;