docs: function compactObject(source) {
      var result = {}, key;
  
      for (key in source) {
          var value = source[key];
          if (value != void 0)
              result[key] = value;
      }
  
      return result;
  }