Run details:
Mozilla/5.0 (X11; CrOS x86_64 12607.58.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/79.0.3945.86 Safari/537.36
Chrome 79
Chrome OS 12607.58.0
Desktop
4 years ago
Test name Executions per second
Using the spread operator 16511207.0 Ops/sec
Using Object.assign 5680711.5 Ops/sec
Tests:
  • Using the spread operator

  • Using Object.assign


;