Nodejs entfernen Null aus dem Objekt

for(var key in req.body){
            if(req.body.hasOwnProperty(key)){
                if(req.body[key] == null) delete req.body[key];
            }
        }
SeriousMonk