[Proto-Scripty] Re: hash:zero

2010-03-31 Thread Eric
Something like that should do it: yourHash = $H(); You're affecting a new empty hash to your old hash, which should be garbage collected by the browser. Eric On Mar 29, 8:47 pm, Walter Lee Davis wa...@wdstudio.com wrote: So if you had a hash of N length and you wanted to end up with a hash  

[Proto-Scripty] Re: hash:zero

2010-03-31 Thread T.J. Crowder
@Walter: I don't think Hash has a length member. @Eric: That will replace *that reference* to the Hash, but any other references will still refer to the old object. So, for instance, if the reference has been passed into a function, that will update that function's reference to point to a new