Using the spread operator vs Using Object.assign vs Manual assignment| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Manual assignment |
| Test name | Executions per second |
|---|---|
| ✓ Manual assignment | 175,725,600 Ops/sec |
| Using the spread operator | 35,817,540 Ops/sec |
| Using Object.assign | 12,371,151 Ops/sec |