Tutorial by Examples

Detailed instructions on getting asynchronous set up or installed.
var fs = require("fs"); fs.readFileSync(‘abc.txt’,function(err,data){ //Reading File Synchronously if(!err) { console.log(data); } //else //console.log(err); }); console.log("something else"); Here, the program wa...

Page 1 of 1