Run details:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.99 YaBrowser/19.1.1.907 Yowser/2.5 Safari/537.36
Yandex Browser 19
Mac OS X 10.12.6
Desktop
5 years ago
Test name Executions per second
Using the spread operator 2846478.2 Ops/sec
Using Object.assign 2765911.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;