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

  • Using Object.assign