Skip to content

Commit

Permalink
write output to required .txt file
Browse files Browse the repository at this point in the history
  • Loading branch information
110CodingP committed Mar 28, 2024
1 parent 4ddca9a commit a942448
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
console.log("0000000000000000000000000000000000000000000000000000000000000000");
const fs = require('node:fs');
const content = '000000000000000000000000000000000000000000000000000000000000000'
try {
fs.writeFileSync('output.txt', content, {flag: 'a+'});
}
catch(err){
console.log(err);
}

0 comments on commit a942448

Please sign in to comment.