I got stuck about functions calling other functions.
Please help me and if you can explain it by example.
Thank you.
1 Like
Hi! I will be glad to help but can you first provide the link to the challenge?
I have been searching the challenge but I can’t find that.
I thought if anyone can give me example without the challenge.
Thank you.
If you have a question about a specific challenge as it relates to your written code for that challenge, just click the Ask for Help button located on the challenge. It will create a new topic with all code you have written and include a link to the challenge also. You will still be able to ask any questions in the post before submitting it to the forum.
Thank you.
Example:
firstFunction(){ // declaring firstFunction
console.log('first function');
secondFunction(); // calling secondFunction
}
second function(){ // declaring secondFunction
console.log('second function');
}
firstFunction(); // calling firstFunction
This is what gets logged:
'first function'
'second function'
2 Likes
Thank you so much for that .
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.