Using update vs Using Object.assign vs Using spread| Test case name | Result |
|---|---|
| Using update | |
| Using Object.assign | |
| Using spread |
| Test name | Executions per second |
|---|---|
| ✓ Using update | 161,477,168 Ops/sec |
| Using Object.assign | 39,633,536 Ops/sec |
| Using spread | 34,179,144 Ops/sec |