felixge / felixge/nodeguide.com
typo in node beginner's guide (s/data/req)
Open
- Dominant language
- CSS
- Stars
- 368
- Forks
- 40
- PR merge metrics
- No merged PRs in 30d
Description
In first example under EventEmitters:
```
var data = '';
req
.on('data', function(chunk) {
data += chunk;
})
.on('end', function() {
console.log('POST data: %s', data);
})
```
Shouldn't that first line be a declaration of 'req' not 'data'?
thanks for the helpful docs!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.