0

How to use the return function value in another function without calling the first function?

14th Oct 2021, 6:09 PM
AbdElrahman Maans
AbdElrahman Maans - avatar
3 Answers
+ 3
I don't understand the question. Could you please link your code and give an example of what should happen?
14th Oct 2021, 6:22 PM
Lisa
Lisa - avatar
0
As long as I know without calling a function you can't get return value as the code block is to be executed. You can use a function as a parameter of other function, you'll get the return value as a parameter of the other function. This type of function of called callback function.
14th Oct 2021, 7:09 PM
Kashyap Kumar
Kashyap Kumar - avatar
14th Oct 2021, 8:17 PM
AbdElrahman Maans
AbdElrahman Maans - avatar