Using spread operator vs Using push function vs Add to last index of array| Test case name | Result |
|---|---|
| Using spread operator | |
| Using push function | |
| Add to last index of array |
| Test name | Executions per second |
|---|---|
| ✓ Using push function | 42,488,332 Ops/sec |
| Add to last index of array | 41,950,552 Ops/sec |
| Using spread operator | 25,436,416 Ops/sec |