Clone and edit this document
Runkit
Runkit
home page
user forum
new notebook
clone notebook
download notebook
support & documentation
log in
sign up
new notebook
help & feedback
clone this notebook
download this notebook
Sign In
Sign Up
fs.readFile behavior when file is null
node v6.17.1
endpoint
share
tweet
require('fs').readFile(null, (err, data) => { if (err) return console.error(err) console.log(data) })
Loading…
no comments
sign in
to comment