In Javascript I have simple test code:
function x(a, b) {
alert(a);
alert(b);
}
var c = [1,2];
x(c);
which send an argument c to function x() as one argument, assigned to a and b stays undefined :-/
How can I send an array as multiple arguments to a function, not as one array?
x(1,2)x(c[0],c[1])? I guess I just don't understand what is required.Function.applyexists