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

  • Using Object.assign