Answers for "go back two folder in path __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 "Javascript"

Browse Popular Code Answers by Language