• Home
  • Which method of fs module is used to read a directory?
Question 1:
Which method of fs module is used to read a directory?
A. fs.readDirectory(path[, mode], callback)
B. fs.read(path[, mode], callback)
C. fs.readdir(path, callback)
Feedback fs.readdir(path, callback)is the method which is used to read a directory
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