A
Q. What will be the output of the following code snippet?
Code:
a = [1, 2, 3, 4, 5];
print(a.slice(2, 4));
print(a.slice(2, 4));
- Correct Answer - Option(A)
- Views: 26
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.