ES6 Usuń pustą właściwość z obiektu

Object.entries(obj).reduce((a,[k,v]) => (v == null ? a : (a[k]=v, a)), {})
Magnificent Moth