What is the output of the following code? for(var i = 5; i > 0; i--)
A) i = 4, 3, 2, 1, 0
B) i = 5, 4, 3, 2, 1
C) i = 0, 1, 2, 3, 4
D) i = 1, 2, 3, 4, 5
Correct Answer:
Verified
Q2: When each entry in an array matches
Q4: Index values start with 1 so that
Q10: JavaScript supports logical operators that connect several
Q18: The map(callback [,thisArg])method returns the index of
Q20: The while statement is used to exit
Q25: Identify a method that is used to
Q26: Identify a compare function that sorts numeric
Q28: A _,which employs the first-in-first-out (FIFO)principle in
Q34: Identify the expression used to reference array
Q35: Which of the following examples tests whether
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents