Hey guys,
Why cant I add a new array or object through this way:
When it does work if i do this, which should be the same thing?:
[/CODE]
Thanks in advance,
Why cant I add a new array or object through this way:
Code:
function blabla(location) {
location = [];
};
var examplevar = [];
blabla(examplevar[4])
When it does work if i do this, which should be the same thing?:
Code:
[CODE]function blabla(location) {
examplevar[4] = [];
};
var examplevar = [];
blabla(examplevar[4])
Thanks in advance,