rem: for (var i = 0; i < this.mAttendees.length; i++) { if (this.mAttendees[i] != attendee) newAttendees.push(this.mAttendees[i]); 
add: var attendees = this.getAttendees({}); for (var i = 0; i < attendees.length; i++) { if (attendees[i].id != attendee.id) newAttendees.push(attendees[i]); 
context:     removeAttendee: function (attendee) {        this.modify();        var found = false, newAttendees = [];        for (var i = 0; i < this.mAttendees.length; i++) {            if (this.mAttendees[i] != attendee)                newAttendees.push(this.mAttendees[i]);            else                found = true;        }        if (found)            this.mAttendees = newAttendees;        else            throw Component.results.NS_ERROR_INVALID_ARG;    },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/0f35c961d84ea5651785b5aa860f2c779ccfd207/calItemBase.js/clean/calendar/base/src/calItemBase.js