MCQs > IT & Programming > Ajax > function foo () { return 5; } What will the following code do? var myVar = foo;

Ajax MCQs

Consider the following function:
function foo ()
{
return 5;
}
What will the following code do?
var myVar = foo;

Answer

Correct Answer: Assign the pointer to function foo to myVar

Explanation:

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

Ajax Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Ajax Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it