this.runThisFunctionOnCall = function(){
//does something and ends up with these arrays of count 1
// arrays.length = 1 (always)
array1;
array2;
array3;
alert(array1.length); // shows 1 here
}
On a different script page, that includes the above page when I do the below, I have no values in array:
this.callingFunction = function(){
this.runThisFunctionOnCall();
alert(array1.length); shows 0
}
runThisFunctionOnCalldoesn't return anything. Does it change a global variable?