Run details:
Mozilla/5.0 (Linux; Android 12; M2102J20SG) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.5481.192 Mobile Safari/537.36 OPR/74.1.3922.71199
Opera Mobile 74
Android
Mobile
one year ago
Test name Executions per second
Using the spread operator 1758802.0 Ops/sec
Using Object.assign 3664995.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign