The code below is:
function two() {
return "success";
}
function one() {
two();
return "fail";
}
If you check the code by calling the one () function, you always get "fail".
The question is, how can I return “success” in the one () function only by calling the two () function?
Is it possible?
Hi
Elias source
share