Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G930F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.87 Mobile Safari/537.36
Chrome Mobile 67
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
Using the spread operator 1072041.1 Ops/sec
Using Object.assign 808956.1 Ops/sec
Manual assignment 405972736.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign

  • Manual assignment


;