結果 : javascript get out of loop