function quchong(array) {
if (array instanceof Array === false) return false;
for (let index = 0; index < array.length; index++) {
const element = array[index];
for (let zindex = index + 1; zindex < array.length; zindex++) {
const zelement = array[zindex];
if (zelement == element || zelement == undefined) {
array.splice(zindex, 1);
zindex--
}
}
}
return array;
}