code: function toObject(value) {
        if (lodash.support.unindexedChars && isString(value)) {
          var index = -1,
              length = value.length,
              result = Object(value);
  
          while (++index < length) {
            result[index] = value.charAt(index);
          }
          return result;
        }
        return isObject(value) ? value : Object(value);
      }
docs: Converts `value` to an object if it's not one.
  
  @private
  @param {*} value The value to process.
  @returns {Object} Returns the object.