Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

missing '}' on the last code example on articles/getting-started/control-flow/how-to-write-asynchronous-code #73

Closed
xadd opened this Issue Aug 13, 2012 · 0 comments

Comments

Projects
None yet
2 participants

xadd commented Aug 13, 2012

of this article https://github.com/nodejitsu/docs/blob/master/pages/articles/getting-started/control-flow/how-to-write-asynchronous-code/content.md
on the last code example:
for (var i = 0; i < 5; i++) {
(function(i) {
setTimeout(function () {
console.log(i);
}, i);
})(i);

there should be a '}' on the last line

@blakmatrix blakmatrix added a commit that referenced this issue Nov 30, 2012

@blakmatrix blakmatrix [doc] missing '}' #73 d150267

@blakmatrix blakmatrix closed this Nov 30, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment