Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

__dirname go back one directory

let reqPath = path.join(__dirname, '../');//It goes 1 folders or directories back from given __dirname.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #directory
ADD COMMENT
Topic
Name
9+5 =