Using the spread operator vs Using Object.assign vs Assign to an empty| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Assign to an empty |
| Test name | Executions per second |
|---|---|
| ✓ Using the spread operator | 19,180,750 Ops/sec |
| Using Object.assign | 6,387,944 Ops/sec |
| Assign to an empty | 5,495,965 Ops/sec |