MCQs > IT & Programming > JavaScript > What's the output? functionmyFunction() { varnum = 2; return innerFunction(num); varinnerFunction = function(x) { return x*3; } }

JavaScript MCQs

What does the following function return when called? functionmyFunction() { varnum = 2; return innerFunction(num); varinnerFunction = function(x) { return x*3; } }

Answer

Correct Answer: Error

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it