Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fs = require('fs');
- fs.unlink("textRenamed.txt", function(err){
- if(err) throw err;
- console.log("File deleted successfully!");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement