Answers for "how to go back one directory after using __dirname"

1

__dirname go back one directory

let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.
Posted by: Guest on February-02-2021

Code answers related to "how to go back one directory after using __dirname"

Code answers related to "Javascript"

Browse Popular Code Answers by Language