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 | 179,868,448 Ops/sec |
| Using Object.assign | 41,399,196 Ops/sec |
| Using the spread operator | 36,310,520 Ops/sec |