Exit 98-382 Introduction to Programming Using JavaScript
Question 1 of 5
0% complete
Q1 Drag & drop

DRAG DROP

You need to write a loop that will traverse the length of an array to find the value orange. If an array element value is null, the code should immediately go to the next element. When the value is found, the loop should exit.

How should you complete the code? To answer, drag appropriate keywords to the correct locations. Each keyword may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.

This image-based item is not auto-scored. Review the diagram, then compare with the answer image.

Question diagram
Previous Next