結果 : javascript iterate x times