http://www.jon-carlos.com/2013/is-javascript-call-by-value-or-call-by-reference/ is much more accurate - Javascript is only call-by-value, and can not possibly be pass-by-reference. Let's not add confusion by mentioning all value/reference here. This module has one job, extending - teaching JavaScript is another module's job :-)