結果 : break out of nested for loop javascript