发现foreach时使用break或return无法跳出循环。经过查阅资料,发现两种方法可以跳出循环,在此记录方法一:使用try{...}catch(e){...} try{ var array ...
確定! 回上一頁