C
CAFxX
I'm trying to solve a problem with my code but can't come up with a
solution.
Suppose I have a "class" A with its constructor (that I can't modify
directly)
function A() {
/* constructor code */
};
what I'd like to do is to make the constructor call a certain function I
specify before returning, i.e.
function A() {
/* constructor code */
someFunction();
};
is this possible?
CAFxX
solution.
Suppose I have a "class" A with its constructor (that I can't modify
directly)
function A() {
/* constructor code */
};
what I'd like to do is to make the constructor call a certain function I
specify before returning, i.e.
function A() {
/* constructor code */
someFunction();
};
is this possible?
CAFxX