Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
docs: Added missing parenthesis to buffer.readUInt8 example.
Browse files Browse the repository at this point in the history
Fixes #1790.
  • Loading branch information
koichik committed Sep 30, 2011
1 parent 84641fc commit 5300829
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/buffers.markdown
Expand Up @@ -189,7 +189,7 @@ Example:
buf[3] = 0x42;

for (ii = 0; ii < buf.length; ii++) {
console.log(buf.readUInt8(ii);
console.log(buf.readUInt8(ii));
}

// 0x3
Expand Down

0 comments on commit 5300829

Please sign in to comment.