MCQs > IT & Programming > Node.js > In a Node.js application, the 'optimist' module is installed. If the following program is executed in a JavaScript file of this application, then what will be the output?var a1 = require('optimist').argv;delete a1['$0'];console.log(a1);

Node.js MCQs

In a Node.js application, the 'optimist' module is installed. If the following program is executed in a JavaScript file of this application, then what will be the output?

var a1 = require('optimist').argv;

delete a1['$0'];

console.log(a1);


Answer

Correct Answer:

{ _: [] } 

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

More Node.js MCQ Questions

search

Node.js Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it