Created
March 12, 2014 17:02
-
-
Save renatocantarino/9511376 to your computer and use it in GitHub Desktop.
readFile nonBlock
This file contains hidden or 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'); | |
var contents = | |
fs.readFile('index.html' , function(err, ctt) | |
{ | |
console.log(ctt); | |
}); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment