Run details:
Mozilla/5.0 (Linux; Android 9; SM-N950N Build/PPR1.180610.011; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/90.0.4430.232 Whale/1.0.0.0 Crosswalk/26.90.3.14 Mobile Safari/537.36 NAVER(inapp; search; 1000; 11.8.10)
Chrome 90
Android
Mobile
2 years ago
Test name Executions per second
Using the spread operator 538107.1 Ops/sec
Using Object.assign 1485042.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign