function quchong(arr) { let myarr = [] myarr.push(arr[0]) for (let arritem of arr) { if (myarr.indexOf(arritem) == -1) { myarr.push(arritem) } } return myarr }
let newArr=arr.filter(i=>i && i.trim())
京公网安备 11010502049817号