13 / 16

Explain what the `fs.readdir()` method is used for in Node.js.

The fs.readdir() method is used to read the contents of a directory. It returns an array of file and directory names present in the specified directory.

javascript