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 | 163,756,656 Ops/sec |
| Using the spread operator | 32,595,898 Ops/sec |
| Using Object.assign | 30,302,430 Ops/sec |