Skip to content

Instantly share code, notes, and snippets.

@seanstrom
Last active August 29, 2015 14:13
Show Gist options
  • Save seanstrom/b45fea26291afbe2a032 to your computer and use it in GitHub Desktop.
Save seanstrom/b45fea26291afbe2a032 to your computer and use it in GitHub Desktop.
Async JS/Node - readFile typo example
var fs = require('fs')
, path = 'my_file.txt'
, file
file = fs.readFile(path)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment