lib/tern.js
function clean(obj) {
    for (var prop in obj) if (obj[prop] == null) delete obj[prop];
    return obj;
  }
function clean(obj) {
    for (var prop in obj) if (obj[prop] == null) delete obj[prop];
    return obj;
  }
function clean ( obj ) { for ( var prop in obj ) if ( obj [ prop ] == null ) delete obj [ prop ] ; return obj ; }
Delete empty fields from result objects
Delete empty fields from result objects