Run details:
Mozilla/5.0 (Linux; Android 10; EVR-AL00) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/94.0.4606.85 Mobile Safari/537.36
Chrome Mobile 94
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 1355121.5 Ops/sec
Using Object.assign 3579979.2 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;