A. console.log('type : ' + os.type);
B. console.log('type : ' + os.type());
C. console.log('type : ' + os.getType());
D. None of the above.
os.type() returns the operating system name.
Which of the following code gets length of a buffer buf?
Which method of fs module is used to close a file?
Which method of fs module is used to delete a file?
Which of the following code prints process version?
Which of the following is true about package.json?
Which of the following is true about EventEmitter.on property?
What is Node.JS?
What npm stands for?
Which of the following code converts a buffer buf to JSON object?
Which of the following is true about fs module of Node?