MCQs > IT & Programming > Node.js > Consider the following javascript code. console.log('first'); setTimeout(function() { console.log('second'); }, 0); console.log('third'); What will be the output?

Node.js MCQs

Consider the following javascript code. console.log("first"); setTimeout(function() { console.log("second"); }, 0); console.log("third"); What will be the output? 

Answer

Correct Answer: first third second

Explanation:

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

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it