Run details:
Mozilla/5.0 (Linux; Android 8.0.0; Mi MIX 2 Build/OPR1.170623.027; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/68.0.3440.91 Mobile Safari/537.36
Chrome Mobile 68
Android 8.0.0
Mobile
6 years ago
Test name Executions per second
Using the spread operator 1263575.6 Ops/sec
Using Object.assign 1788906.9 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;