Run details:
Mozilla/5.0 (Linux; Android 8.0.0; PRA-LX1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Mobile Safari/537.36
Chrome Mobile 74
Android 8.0.0
Mobile
5 years ago
Test name Executions per second
Using the spread operator 768858.4 Ops/sec
Using Object.assign 812370.1 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;