Page 1 of 1

javascript parameters passed by reference?

Posted: Tue Mar 20, 2007 11:34 am
by sarris
Hi there.
I want to pass a parameter by reference into a function but javascprit doesnt support it. Is there any way to implement something similar?

Posted: Tue Mar 20, 2007 11:38 am
by Kieran Huggins
maybe you could add the function to the object you're working on via prototype?