結果 : how to break if statement javascript