Browse Source

Fixing a typo in the fs.readFile example.

v0.7.4-release
pyrotechnick 15 years ago
committed by Ryan Dahl
parent
commit
8aaffe71ee
  1. 2
      doc/api.txt

2
doc/api.txt

@ -695,7 +695,7 @@ Asynchronously reads the entire contents of a file. Example:
-------------------------------- --------------------------------
fs.readFile("/etc/passwd", function (err, data) { fs.readFile("/etc/passwd", function (err, data) {
if (err) throw err; if (err) throw err;
sys.puts(content); sys.puts(data);
}); });
-------------------------------- --------------------------------
+ +

Loading…
Cancel
Save