Using the spread operator vs Using Object.assign vs Add to first | Test case name | Result |
|---|---|
| Using the spread operator | |
| Using Object.assign | |
| Add to first |
| Test name | Executions per second |
|---|---|
| ✓ Add to first | 184,790,864 Ops/sec |
| Using Object.assign | 14,792,226 Ops/sec |
| Using the spread operator | 12,562,954 Ops/sec |