Run details:
Mozilla/5.0 (Linux; Android 11; motorola one hyper) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/104.0.5112.97 Mobile Safari/537.36 OPR/71.2.3718.67195
Opera Mobile 71
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 780632.8 Ops/sec
Using Object.assign 2005189.4 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;