結果 : use for loop to print string in javascript