1. 去除数组中的空值 array = [null,"熊春辉","李玉元"] list = [] array.map((value) =>{ if(!!value){ list.push(value) } })