Sunday, July 15, 2007

Object Pass by Value in JavaScript

When passing an object to a function in JavaScript, the object is passed by reference. To create an effect similar to pass by value, create a clone of the object in question.

No comments: