I am trying to loop through array value in JavaScript using a for loop. The for loop also outputs the values onto the page.
I have done this successfully, but there s