continue语句在while和for循环中的区别
var arr=['a','b',,'d','e'];var s='';var i=0;for(i=0;i<arr.length;i++){ if(!arr[i])continue; s+=arr[i];};console.log('for:'+s);i=0;s='';while(i<arr.length){ if(!arr[i]) { i++;