While Loop Through Array Javascript Mdn Docs