Run details:
Mozilla/5.0 (Linux; Android 10; ASUS_I001DE) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36 EdgA/46.06.4.5161
Chrome Mobile 77
Android
Mobile
3 years ago
Test name Executions per second
Using the spread operator 14125813.0 Ops/sec
Using Object.assign 4008744.2 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;