build/ical.js
function(values) {
      if (!this.isMultiValue) {
        throw new Error(
          this.name + ': does not not support mulitValue.\n' +
          'override isMultiValue'
        );
      }

      var len = values.length;
      var i = 0;
      this.removeAllValues();

      if (len > 0 &&
          typeof(values[0]) === 'object' &&
          'icaltype' in values[0]) {
        this.resetType(values[0].icaltype);
      }

      if (this.isDecorated) {
        for (; i < len; i++) {
          this._setDecoratedValue(values[i], i);
        }
      } else {
        for (; i < len; i++) {
          this.jCal[VALUE_INDEX + i] = values[i];
        }
      }
    }
function(values) {
      if (!this.isMultiValue) {
        throw new Error(
          this.name + ': does not not support mulitValue.\n' +
          'override isMultiValue'
        );
      }

      var len = values.length;
      var i = 0;
      this.removeAllValues();

      if (len > 0 &&
          typeof(values[0]) === 'object' &&
          'icaltype' in values[0]) {
        this.resetType(values[0].icaltype);
      }

      if (this.isDecorated) {
        for (; i < len; i++) {
          this._setDecoratedValue(values[i], i);
        }
      } else {
        for (; i < len; i++) {
          this.jCal[VALUE_INDEX + i] = values[i];
        }
      }
    }
function ( values ) { if ( ! this . isMultiValue ) { throw new Error ( this . name + ': does not not support mulitValue.\n' + 'override isMultiValue' ) ; } var len = values . length ; var i = 0 ; this . removeAllValues ( ) ; if ( len > 0 && typeof ( values [ 0 ] ) === 'object' && 'icaltype' in values [ 0 ] ) { this . resetType ( values [ 0 ] . icaltype ) ; } if ( this . isDecorated ) { for ( ; i < len ; i ++ ) { this . _setDecoratedValue ( values [ i ] , i ) ; } } else { for ( ; i < len ; i ++ ) { this . jCal [ VALUE_INDEX + i ] = values [ i ] ; } } }
Sets the values of the property.  Will overwrite the existing values.
This can only be used for multi-value properties.

@param {Array} values    An array of values
Sets the values of the property . Will overwrite the existing values . This can only be used for multi - value properties .