for(var i=0, m, o; (o=this.observers[i]); i++){ if(o.o==inObserver){ this.observers.splice(i, 1); return; } }