Using the spread operator vs Using Object.assign vs Manual property assignment| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Manual property assignment |
| Test name | Executions per second |
|---|---|
| ✓ Manual property assignment | 49,296,984 Ops/sec |
| Using Object.assign | 11,353,806 Ops/sec |
| Using the spread operator | 10,339,965 Ops/sec |