Run details:
Mozilla/5.0 (Linux; Android 9; SM-G970U1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.92 Mobile Safari/537.36
Chrome Mobile 77
Android
Mobile
5 years ago
Test name Executions per second
Using the spread operator 13825431.0 Ops/sec
Using Object.assign 3099696.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;