Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Pixel) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.80 Mobile Safari/537.36
Chrome Mobile 70
Android 8.1.0
Mobile
6 years ago
Test name Executions per second
Using the spread operator 1085245.2 Ops/sec
Using Object.assign 1760984.0 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;