Run details:
Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.102 YaBrowser/18.11.1.805 Yowser/2.5 Safari/537.36
Yandex Browser 18
Windows
Desktop
5 years ago
Test name Executions per second
Using the spread operator 3355635.2 Ops/sec
Using Object.assign 3244097.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;