code: function (param) {
          var split = param.split('='),
              key, value;
          key = split[0].trim();
          value = (split[1]) ? split[1].trim() : true;
  
          if (_.isString(value) && value[0] === '"') {
              value = value.slice(1, -1);
          }
  
          return { key: key, value: value };
      }
docs: Splits a Cookie parameter into a key and a value
  
  @private
  @param {String} param
  @returns {{key: *, value: (boolean|*)}}