Array.slice() vs Spread operator vs Array.slice() with start and end| Test case name | Result |
|---|---|
| Array.slice() | |
| Spread operator | |
| Array.slice() with start and end |
| Test name | Executions per second |
|---|---|
| ✓ Array.slice() | 12,292,018 Ops/sec |
| Spread operator | 7,243,843 Ops/sec |
| Array.slice() with start and end | 6,956,644 Ops/sec |