Loop (for each) over an array in JavaScriptasked14 years agolast updated3 years agoviewed5.1m timesUp Vote5.6kDown VoteHow can I loop through all the entries in an array using JavaScript?