Can I create a file and write values to it by placing the code NODE.js in JS file which going to call it from HTML?

后端 未结 0 419
遥遥无期
遥遥无期 2020-12-13 01:25

Here\'s a simple code that works when run from the VSC terminal.

const fs = require(\'fs\');
const path = require(\'path\');

fs.mkdir(path.join(__dirname, \'         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题