...

/

Solution to Sub-task: Get Path Names

Solution to Sub-task: Get Path Names

The solution to the Sub-task "get path names" of the project "File Searcher".

We'll cover the following...

Get path names

In this step, take the path to the directory as an argument. Return a promise that uses an asynchronous function to read the directory. In that callback function, resolve the array of paths to the files and folders.

Access this course and 1400+ top-rated courses and projects.