Run details:
Mozilla/5.0 (Linux; Android 5.1.1; SM-J320H) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.116 Mobile Safari/537.36
Chrome Mobile 77
Android 5.1.1
Mobile
3 years ago
Test name Executions per second
Using the spread operator 1113782.2 Ops/sec
Using Object.assign 319979.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;