A
Q. Which one of the following options is the correct output for the given code of JavaScript?
Code:
var values=["Three","two","one"];
varans=values.shift();
document.writeln(ans);
varans=values.shift();
document.writeln(ans);
- Correct Answer - Option(C)
- Views: 9
- Filed under category JavaScript
- Hashtags:
Discusssion
Login to discuss.