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.
Get hands-on with 1400+ tech skills courses.