Using the spread operator vs Using Object.assign vs Using mutation| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Using mutation |
| Test name | Executions per second |
|---|---|
| ✓ Using mutation | 110,972,104 Ops/sec |
| Using the spread operator | 62,520,356 Ops/sec |
| Using Object.assign | 14,741,729 Ops/sec |