A. var fs = require("fs");
B. var fs = import("fs");
C. package fs;
D. import fs;
Require directive is used to load a Node module(fs) and store returned its instance(fs) into its variable(fs).
Which of the following is true about setInterval(cb, ms) global function?
Which of the following code print the name of operating system?
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?