Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var fs = require('fs');
- readFile();
- function readFile(){
- (function(){
- fs.readFileSync('test');;
- }())
- console.log('Read file.');
- }
- // wait 10 seconds and then exit
- setTimeout(null, 10000);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement