Web development · Arrays and objects

Looping over arrays

Totals, counts and the highest score all come from visiting every item of an array once, and JavaScript has two loops that look almost alike.