For Loop Over String Javascript Functions Examples