标签:
for(var i=0;i<arr.length;i++){ if(typeof arr[i] ===‘number‘&&arr[i]===arr[i]){ document.write(" "+arr[i]+" "); } }
判断是数字
原文地址:http://www.cnblogs.com/liujin0505/p/4433631.html