Answers for "Create a loop that runs through each item in the array."

1

Iterate Through an Array with a For Loop

var arr = [10, 9, 8, 7, 6];
for (var i = 0; i < arr.length; i++) {
   console.log(arr[i]);
}
Posted by: Guest on December-22-2020

Code answers related to "Create a loop that runs through each item in the array."

Code answers related to "Javascript"

Browse Popular Code Answers by Language