Saturday, January 21, 2006

JavaScript: Passing by Value or by Reference - snook.ca

JavaScript: Passing by Value or by Reference - snook.ca: "JavaScript: Passing by Value or by Reference
January 18, 2006 | JavaScript

In JavaScript, we have functions and we have arguments that we pass into those functions. But how JavaScript handles what you’re passing in is not always clear. When you start getting into object-oriented development, you may find yourself perplexed over why you have access to values sometimes but not other times."

No comments: