Advertisement
ArGp

Untitled

Feb 14th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2. <script>
  3. // Requiring fs module in which  
  4. // readFile function is defined.
  5. const fs = require('fs')
  6.  
  7. fs.readFile('passwd', (err, data) => {
  8.     if (err) throw err;
  9.  
  10.     console.log(data.toString());
  11. })
  12. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement