結果 : how to continue in a foreach loop javascript