Using the spread operator vs Using Object.assign vs Not merging| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Not merging |
| Test name | Executions per second |
|---|---|
| ✓ Using the spread operator | 33,656,164 Ops/sec |
| Using Object.assign | 12,721,795 Ops/sec |
| Not merging | 8,828,485 Ops/sec |