js去除数组里的负数

js去除数组里的负数

&ltscript&gt定义一个数组用于测试var arrX=[1,2,3,-4,-5,6,-7]去除数组中的负数function removefushu(arrTem){for(var i=0i&ltarr
JavaScript330