Loop Through String Array Javascript Methods Mdn