Skip to content

Commit 5300829

Browse files
committed
docs: Added missing parenthesis to buffer.readUInt8 example.
Fixes #1790.
1 parent 84641fc commit 5300829

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/api/buffers.markdown

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ Example:
189189
buf[3] = 0x42;
190190

191191
for (ii = 0; ii < buf.length; ii++) {
192-
console.log(buf.readUInt8(ii);
192+
console.log(buf.readUInt8(ii));
193193
}
194194

195195
// 0x3

0 commit comments

Comments
 (0)