Javascript Javascript uma pasta acima

// Node.js program to demonstrate the   
// path.join() Method  
  
// Import the path module
const path = require('path');
   
// Getting the directory path one folder above
console.log("Current Directory: ", __dirname);
path3 = path.join(__dirname, "..");
console.log("Directory above:", path3);
Faus