Is it possible to pass an array to another functions?
I have my array:
which i then try to pass to another function :HTML Code:var arraySub = newArray(); arraySub = "Dave"; arraySub = "Bob"; arraySub = "Henry";
However the function doesn't seem to recognise the array :HTML Code:changeSub(2, Level,arraySub)
Can anyone see if i am doing anything wrongHTML Code:alert(arraySub);