Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: buffer, prints should go under the code
  • Loading branch information
simon300000 authored Mar 31, 2019
commit afcc273b5a6df1c0d5420913722dbb7cfedc971a
6 changes: 3 additions & 3 deletions doc/api/buffer.md
Original file line number Diff line number Diff line change
Expand Up @@ -281,13 +281,13 @@ function:
```js
const buf = Buffer.from([1, 2, 3]);

for (const b of buf) {
console.log(b);
}
// Prints:
// 1
// 2
// 3
for (const b of buf) {
console.log(b);
}
```

Additionally, the [`buf.values()`], [`buf.keys()`], and
Expand Down