📅  最后修改于: 2022-03-11 15:04:01.248000             🧑  作者: Mango
// Removing null,undefined,0 value from array
const data = ['Abc',0,null,"Hello",undefined]
const filterData = data.filter(Boolean);
console.log(filterData)