Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-A320FL Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36
Chrome Mobile 69
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
Using the spread operator 351957.1 Ops/sec
Using Object.assign 497738.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;