rem: for (var i = 0; i < propmap.length; i++) { var prop = propmap[i]; this[prop[0]] = icalcomp[prop[1]]; }  
add: this.mapPropsFromICS(icalcomp, propmap); 
context:     setItemBaseFromICS: function (icalcomp) {        if (this.mImmutable)            throw Components.results.NS_ERROR_FAILURE;        var propmap = [["mCreationDate", "createdTime"],                       ["mLastModifiedTime", "lastModified"],                       ["mGeneration", "version"],                       ["mId", "uid"],                       ["mTitle", "summary"],                       ["mPriority", "priority"],                       ["mMethod", "method"],                       ["mStatus", "status"]];        for (var i = 0; i < propmap.length; i++) {            var prop = propmap[i];            this[prop[0]] = icalcomp[prop[1]];        }        if (icalcomp.icalClass == Components.interfaces.calIICSService.VISIBILITY_PUBLIC)            this.mIsPrivate = false;        else            this.mIsPrivate = true;    }
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/9c9eadd9be24eb6769f06d1470a4192730c4a0c2/calItemBase.js/clean/calendar/base/src/calItemBase.js