Javascript Loop Array And String Interview