函数filterArray(arr) {var retr = [];$.每个(arr, function(i, part) {if (part !== ") {rtr .push(part);} });返回retArr;}