Run details:
Mozilla/5.0 (Linux; Android 8.0.0; STF-L09 Build/HUAWEISTF-L09) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Mobile Safari/537.36
Chrome Mobile 67
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
Using the spread operator 1062725.5 Ops/sec
Using Object.assign 653386.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;