Run details:
Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F 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 1022427.4 Ops/sec
Using Object.assign 1652369.1 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign