Run details:
Mozilla/5.0 (Linux; Android 6.0.1; SM-J500F Build/MMB29M) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/66.0.3359.158 Mobile Safari/537.36
Chrome Mobile 66
Android 6.0.1
Mobile
5 years ago
Test name Executions per second
Using the spread operator 250438.0 Ops/sec
Using Object.assign 192801.6 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;