here is the fiddle: <http://jsfiddle.net/Xh4GU/1>
or the code: 

```
function Vector()
{
    var v = new Array(123, 456, 789);

    this.getV = function()
    {
        return v;
    }
}

function Formulas()
{
    this.add = function(x, axis, units)
    {
        x[axis] += units;
    }
}

var vector = new Vector();
var formulas = new Formulas();

var v = vector.getV();
var vAdded = formulas.add(v, 0, 77)

document.write(v);

```

spits out: 200,456,789

Why is the first index of v being changed?
Thanks