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

@Devtools Tech
const array = [1,2,3,4,5];

console.log(array.slice(2,4));
Option 1
[3, 4]
Option 2
[3, 4, 5]
Option 3
[2, 3]
Option 4
[1, 2, 3]
Option 5
[2, 3, 4]