Q. What will be the output of the following code snippet?
Code:a = [1, 2, 3, 4, 5]; print(a.slice(2, 4));
β
Correct Answer: (A)
3, 4
a = [1, 2, 3, 4, 5]; print(a.slice(2, 4));
You must be Logged in to update hint/solution