+ 1

How to read and write file using JavaScript

Can i read and write file using JavaScript ?

24th Mar 2020, 6:39 AM
Anshul
1 Respuesta
+ 1
In Node.js const fs = require('fs'); fs.writeFileSync('myfile.txt', "I am written");
24th Mar 2020, 2:25 PM
Sarthak
Sarthak - avatar