const fs = require('fs/promises'); (async function(path) { try { await fs.unlink(path); console.log(`successfully deleted ${path}`); } catch (error) ...
確定! 回上一頁