Using the spread operator vs Using Object.assign vs direct member access| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| direct member access |
| Test name | Executions per second |
|---|---|
| ✓ direct member access | 143,762,640 Ops/sec |
| Using Object.assign | 40,245,532 Ops/sec |
| Using the spread operator | 37,505,204 Ops/sec |