Run details:
Mozilla/5.0 (Linux; Android 11; LE2101) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/93.0.4577.62 Mobile Safari/537.36
Chrome Mobile 93
Android
Mobile
3 years ago
Test name Executions per second
Using the spread operator 1328930.4 Ops/sec
Using Object.assign 3159891.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;