Run details:
Mozilla/5.0 (Linux; Android 8.1.0; Lenovo TB-8704F) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36
Chrome 74
Android 8.1.0
Desktop
5 years ago
Test name Executions per second
Using the spread operator 724921.2 Ops/sec
Using Object.assign 790303.4 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;