Run details:
Mozilla/5.0 (Linux; Android 12; M2103K19PG Build/SP1A.210812.016) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/99.0.4844.88 Mobile Safari/537.36
Chrome Mobile 99
Android
Mobile
one year ago
Test name Executions per second
Using the spread operator 717725.9 Ops/sec
Using Object.assign 2006649.6 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign