Run details:
Mozilla/5.0 (Linux; Android 7.1.1; Moto E (4) Plus Build/NMA26.42-152) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 Mobile Safari/537.36
Chrome Mobile 69
Android 7.1.1
Mobile
5 years ago
Test name Executions per second
Using the spread operator 238223.8 Ops/sec
Using Object.assign 317634.4 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;