MCQs > IT & Programming > Node.js > In this code: function myLog(err, data) { console.log(err, data); } fs.readFile('/tmp/sample', myLog); The function 'myLog' is used as a(an):

Node.js MCQs

In this code:

function myLog(err, data) {

console.log(err, data);

} fs.readFile('/tmp/sample', myLog);

The function 'myLog' is used as a(an):

Answer

Correct Answer: Callback

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