Using the spread operator vs Using Object.assign vs property| Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| property |
| Test name | Executions per second |
|---|---|
| ✓ property | 714,438,656 Ops/sec |
| Using the spread operator | 24,757,724 Ops/sec |
| Using Object.assign | 6,525,981 Ops/sec |