Devtools Tech Logo
0
0
0

What would be the output of the following code? (Based on Array Slice)

Option 1
[3, 4]
Option 2
[3, 4, 5]
Option 3
[2, 3]
Option 4
[1, 2, 3]
Option 5
[2, 3, 4]