ES6 Strip Child adalah nol dari objek
Object.keys(obj).forEach(k => (!obj[k] && obj[k] !== undefined) && delete obj[k]);
Alive Ant
Object.keys(obj).forEach(k => (!obj[k] && obj[k] !== undefined) && delete obj[k]);