Run details:
Mozilla/5.0 (Linux; Android 6.0; XT1072) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36
Chrome Mobile 70
Android 6.0
Mobile
5 years ago
Test name Executions per second
Using the spread operator 209249.9 Ops/sec
Using Object.assign 241298.8 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;