Skip to content

Commit

Permalink
doc: move "Prints: ..." under the code
Browse files Browse the repository at this point in the history
PR-URL: #27035
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
  • Loading branch information
simon300000 authored and vsemozhetbyt committed Apr 1, 2019
1 parent 6eae414 commit c6faf5b
Showing 1 changed file with 3 additions and 3 deletions.
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

0 comments on commit c6faf5b

Please sign in to comment.