code: function(value, index) {
        if (!this._values) {
          this._values = [];
        }
  
        if (typeof(value) === 'object' && 'icaltype' in value) {
          // decorated value
          this.jCal[VALUE_INDEX + index] = this._undecorate(value);
          this._values[index] = value;
        } else {
          // undecorated value
          this.jCal[VALUE_INDEX + index] = value;
          this._values[index] = this._decorate(value);
        }
      }
docs: Sets the value at the given index while also hydrating it. The passed
  value can either be a decorated or undecorated value.
  
  @private
  @param {?} value             The value to set
  @param {Number} index        The index to set it at