How to Loop Through an Array in JavaScript | CodeTrail