Question 13/17
beginner
Select one answer

What is __dirname in Node.js?

The directory name of the Node.js installation
The directory name of the current module/file
The root directory of the project
A user-defined variable

Premium Question

Upgrade to unlock this question and 300+ more interview prep MCQs.