Run details:
Mozilla/5.0 (Linux; Android 7.1.2; FP2 Build/18.09.2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Mobile Safari/537.36 OPR/49.2.2361.134358
Opera Mobile 49
Android 7.1.2
Mobile
5 years ago
Test name Executions per second
Using the spread operator 438903.8 Ops/sec
Using Object.assign 535286.4 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;