Question:What is the correct output of the following code?
var a=["Lenny","Harold","Mary","Jean","Sal"];
 alert(a.shift());
 

A Sal 

B Jean 

C Lenny 

D None 

+ Answer
+ Report
Total Preview: 1227

Copyright © 2024. Powered by Intellect Software Ltd