MCQs > IT & Programming > JavaScript MCQs > What's the output? (function(x) { return (function(y) { console.log(x); })(2) })(1);

JavaScript MCQs

Consider the code snippet below. What will the console output be? (function(x) { return (function(y) { console.log(x); })(2) })(1);

Answer

Correct Answer: 1

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