Last active
April 8, 2016 10:22
-
-
Save shaikh-shahid/580124ad4b7f6c088eaa7bbc09dc3f67 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var fs = require("fs"); | |
fs.readFile('async.js','utf8',fileContent); | |
function fileContent(err,data) { | |
if(!err) { | |
console.log(data); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment