I want to Write Data to existing file using JavaScript.
I don\'t want to print it on console.
I want to Actually Write data to abc.txt.
I read many answered que
const fs = require('fs')
let data = "Learning how to write in a file."
fs.writeFile('Output.txt', data, (err) => {
// In case of a error throw err.
if (err) throw err;
})