K
Khai Doan
I have function A, which need to call function B with the exact same
argument list. What is the correct way to do this?
I had function A:
function A {
B(arguments);
}
but it does not work.
I had function A:
function A {
// code to copy the argument list to another array arr
B(arr);
}
but that does not work neither. In both cases, it tell me that
function B is expecting different number of arguments.
What I am doing wrong?
argument list. What is the correct way to do this?
I had function A:
function A {
B(arguments);
}
but it does not work.
I had function A:
function A {
// code to copy the argument list to another array arr
B(arr);
}
but that does not work neither. In both cases, it tell me that
function B is expecting different number of arguments.
What I am doing wrong?