Sorry sudden send resume in this reply
I am having a difficult time trying to enumerate a hash to determine if a
give key is in the hash and if so delete it and its value.
If I could approach it index it would be
function remove(valueToTest, hashToBeTested){
      if(valueToTest==hashToBeTested[i]) hashToBeTested.unset(valueToTest);

Would I do it like

return hashToBeTested;

which I am sure is wrong syntactically if not semantically.  Can someone
guide the proper way and more deeply the use of this?

On Thu, Apr 8, 2010 at 3:06 PM, chrysanthe m <> wrote:


You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to