• Home
  • Which method of fs module is used to get information about file?
Question 1:
Which method of fs module is used to get information about file?
A. fs.open(path, flags[, mode], callback)
B. fs.stat(path, callback)
Feedback fs.stat(path, callback) is the method which is used to get information about a file.
C. fs.readFile(path, flags[, mode], callback)
D. None of the above

These questions are from this test. Would you like to take a practice test?

Node JS Quiz 3 | Englishfreetest.com