Multiple Choice
Melissa, a computer science engineering student, is learning the basics of programming by exploring arrays. She learns about different array methods. She wishes to learn more on inserting and deleting array items. She creates monthName array to extract only the three spring months—March, April, and May—from a calendar.
-Melissa wants to insert abbreviations of spring months into the monthName array.Which of the following methods should she use?
A) monthName.reverse(5,3,"Mar","Apr","May") ;
B) monthName.sort(2,3,"Mar","Apr","May") ;
C) monthName.join(5,3,"Mar","Apr","May") ;
D) monthName.splice(2,3,"Mar","Apr","May") ;
Correct Answer:

Verified
Correct Answer:
Verified
Q20: The _ loop tests the condition to
Q21: <br> Identify the letter of the choice
Q22: The value of the length property can
Q23: Identify the syntax of the while loop.<br>A)
Q24: Identify the syntax of the statement label.<br>A)
Q26: Identify a true statement of array.some(callback [,thisArg])method.<br>A)
Q27: <br> Identify the letter of the choice
Q28: Gregor, a software developer, is developing a
Q29: A _,which employs the first-in-first-out (FIFO)principle in
Q30: What is the output of the following