javascript parameters passed by reference?

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
sarris
Forum Contributor
Posts: 137
Joined: Mon Dec 04, 2006 2:44 pm

javascript parameters passed by reference?

Post 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?
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

maybe you could add the function to the object you're working on via prototype?
Post Reply